Note: You are currently viewing documentation for Moodle 2.9. 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
No edit summary
(info reorganisation)
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.


The slasharguments setting is intended mostly for diagnostic purposes and we strongly recommend this setting should be always '''enabled'''.
Slash arguments must be enabled on the web server, as described in:
* [[Internet Information Services#Slasharguments|IIS slasharguments]]
* [[Apache#Slasharguments|Apache slasharguments]]
* [[Nginx#Slasharguments|Nginx slasharguments]]


If you disable this '''slasharguments''' setting, many Moodle features will not work properly, such as:
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 setting '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.
* SCORM packages.
* Relative links in embedded pages.
* Add-ons and plugins.
* Images.


If you disable slasharguments setting and embedded images start to be displayed it means that the server is not properly configured.
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.
 
Another very common problem reported on support forums about slasharguments:
* [[SCORM_FAQ#slash_arguments_warning_when_I_add.2Fupdate_SCORM_objects_in_my_course|SCORM FAQ: slash arguments warning when I add/update SCORM objects in my course]]
 
A common problem on Apache web server is the '''File not found''' error after uploading a file. For further instructions to fix this issue can be found here:
* [[Installation_FAQ#Uploaded_files_give_.22File_not_found.22|File not found error on uploaded files]]
 
For further information about slasharguments configuration on web servers see:
* [[Internet Information Services#Slasharguments|IIS server configuration]]
* [[Apache#Slasharguments|Apache slasharguments configuration]]
* [[Nginx#Slasharguments|Nginx slasharguments configuration]]
 
'''Please note that will not be possible to disable slasharguments settings on moodle 3.0, we recommend to check and configure slasharguments in your webserver.'''

Revision as of 11:05, 27 March 2015

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

Slash arguments must be enabled on the web server, as described in:

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 setting '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.

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.