Using slash arguments: Difference between revisions
No edit summary |
Helen Foster (talk | contribs) (improving wording based on info learned in MDL-50182) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Environment}} | {{Environment}} | ||
==Enabling slash arguments== | |||
The function ''slash arguments'' (using pathinfo or PATH_INFO) is required for [[SCORM activity|SCORM packages]] and multiple-file resources with relative links such as [[IMS content package|IMS content packages]] to work correctly. | |||
Slash arguments must be enabled on your web server, as described in: | |||
* [[Internet Information Services#Slasharguments|IIS slasharguments]] | |||
* | * [[Apache#Slasharguments|Apache slasharguments]] | ||
* | * [[Nginx#Slasharguments|Nginx slasharguments]] | ||
* | |||
If you | ==Error when uploading a file== | ||
If you obtain a 'File not found' error when uploading a file, it indicates that slash arguments need to be enabled on your web server. | |||
If your web server doesn't support slash arguments, its use in Moodle can be disabled by un-ticking the checkbox 'Use slash arguments' in ''Administration > Site administration > Server > HTTP''. | |||
''' | Warning: Disabling the use of slash arguments will result in SCORM packages and multiple-file resources not working and slash arguments warnings being displayed! | ||
==Slash arguments environment check== | |||
Note: '''The use of slash arguments will be required in future versions of Moodle.''' | |||
If your web server doesn't support slash arguments, you will in future need to change to a web server which does. (It will no longer be possible to disable the use of slash arguments.) | |||
In the meantime, ''Administration > Site administration > Server > Environment'' reports if the slash argument setting needs to be checked i.e. if it is detected that 'Use slash arguments' is disabled in ''Administration > Site administration > Server > HTTP''. Thus, the check is a warning of the future requirement. | |||
==See also== | |||
* [https://moodle.org/mod/forum/discuss.php?d=278916 Requiring slasharguments in Moodle 2.9 - will anybody be seriously affected?] forum discussion | |||
* MDL-50416 - slasharguments check gives a warning on install], for versions 2.9 and 2.9.1 | |||
[[es:Usando slash arguments]] |
Latest revision as of 10:22, 9 October 2015
Enabling slash arguments
The function slash arguments (using pathinfo or PATH_INFO) is required for SCORM packages and multiple-file resources with relative links such as IMS content packages to work correctly.
Slash arguments must be enabled on your web server, as described in:
Error when uploading a file
If you obtain a 'File not found' error when uploading a file, it indicates that slash arguments need to be enabled on your web server.
If your web server doesn't support slash arguments, its use in Moodle can be disabled by un-ticking the checkbox 'Use slash arguments' in Administration > Site administration > Server > HTTP.
Warning: Disabling the use of slash arguments will result in SCORM packages and multiple-file resources not working and slash arguments warnings being displayed!
Slash arguments environment check
Note: The use of slash arguments will be required in future versions of Moodle.
If your web server doesn't support slash arguments, you will in future need to change to a web server which does. (It will no longer be possible to disable the use of slash arguments.)
In the meantime, Administration > Site administration > Server > Environment reports if the slash argument setting needs to be checked i.e. if it is detected that 'Use slash arguments' is disabled in Administration > Site administration > Server > HTTP. Thus, the check is a warning of the future requirement.
See also
- Requiring slasharguments in Moodle 2.9 - will anybody be seriously affected? forum discussion
- MDL-50416 - slasharguments check gives a warning on install], for versions 2.9 and 2.9.1