Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Using slash arguments.

Using slash arguments: Difference between revisions

From MoodleDocs
m (rewording)
m (added link to spanish translation of page)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Environment}}
{{Environment}}
The function ''slash arguments'' is required for various features in Moodle to work correctly, such as SCORM packages, uploaded files and embedded images.
==Enabling slash arguments==
The function ''slash arguments'' is required for various features in Moodle to work correctly, such as SCORM packages and embedded files.


Slash arguments must be enabled on the web server, as described in:
Slash arguments must be enabled on your web server, as described in:
* [[Internet Information Services#Slasharguments|IIS slasharguments]]
* [[Internet Information Services#Slasharguments|IIS slasharguments]]
* [[Apache#Slasharguments|Apache slasharguments]]
* [[Apache#Slasharguments|Apache slasharguments]]
* [[Nginx#Slasharguments|Nginx slasharguments]]
* [[Nginx#Slasharguments|Nginx slasharguments]]


If your web server doesn't support slash arguments (e.g. IIS 5 and certain Apache servers), its use in Moodle can be disabled by un-ticking the checkbox 'Use slash arguments' in ''Administration > Site administration > Server > HTTP''. This will result in SCORM packages and other features not working, and slash arguments warnings and 'File not found' errors being displayed!
==Error when uploading a file==
If you obtain a 'File not found' error when uploading a file, it indicates that slash arguments are not enabled on your web server. Please try enabling it.


Note: '''The use of slash arguments will be required in Moodle 3.0 onwards.''' If your web server doesn't support slash arguments, you will need to change to a web server which does.
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 not working and slash arguments warnings being displayed!
 
==Slash arguments environment check==
 
Note: '''The use of slash arguments will be required in Moodle 3.0 onwards.'''
 
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 Moodle 3.0 onwards.)
 
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
 
[[es:Usando slash arguments]]

Latest revision as of 14:53, 6 April 2015

Enabling slash arguments

The function slash arguments is required for various features in Moodle to work correctly, such as SCORM packages and embedded files.

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 are not enabled on your web server. Please try enabling it.

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 not working and slash arguments warnings being displayed!

Slash arguments environment check

Note: The use of slash arguments will be required in Moodle 3.0 onwards.

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 Moodle 3.0 onwards.)

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