mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Tidied up and rearranged a little
This commit is contained in:
parent
fe32b83bbf
commit
ac234d0262
1 changed files with 10 additions and 8 deletions
18
lib/htaccess
18
lib/htaccess
|
@ -20,8 +20,12 @@
|
||||||
AcceptPathInfo on
|
AcceptPathInfo on
|
||||||
</IfDefine>
|
</IfDefine>
|
||||||
|
|
||||||
|
### Secondly, you can define the default files in the Moodle
|
||||||
|
### directories as follows:
|
||||||
|
|
||||||
### Secondly, set up some PHP variables that Moodle needs
|
DirectoryIndex index.php index.html index.htm
|
||||||
|
|
||||||
|
### Thirdly, set up some PHP variables that Moodle needs
|
||||||
|
|
||||||
php_value magic_quotes_gpc On
|
php_value magic_quotes_gpc On
|
||||||
php_value magic_quotes_runtime Off
|
php_value magic_quotes_runtime Off
|
||||||
|
@ -30,6 +34,7 @@ php_value short_open_tag On
|
||||||
php_value session.auto_start Off
|
php_value session.auto_start Off
|
||||||
php_value session.bug_compat_warn Off
|
php_value session.bug_compat_warn Off
|
||||||
|
|
||||||
|
|
||||||
### These are optional - you may not want to override php.ini
|
### These are optional - you may not want to override php.ini
|
||||||
### To enable them, remove the leading hash (#)
|
### To enable them, remove the leading hash (#)
|
||||||
|
|
||||||
|
@ -37,13 +42,10 @@ php_value session.bug_compat_warn Off
|
||||||
#php_value post_max_size 2M
|
#php_value post_max_size 2M
|
||||||
#php_value session.gc_maxlifetime 7200
|
#php_value session.gc_maxlifetime 7200
|
||||||
|
|
||||||
### Optional definition of default files
|
|
||||||
|
|
||||||
#DirectoryIndex index.php index.html index.htm
|
### You can change the following line to point to the
|
||||||
|
### error/index.php file in your Moodle distribution.
|
||||||
|
### It provides a form which emails you (the admin)
|
||||||
### Change the following line to point to the error/index.php
|
### about 404 errors (URL not found).
|
||||||
### file in your Moodle distribution. It provides a form
|
|
||||||
### which emails you (the admin) about 404 errors.
|
|
||||||
|
|
||||||
#ErrorDocument 404 http://example.org/moodle/error/index.php
|
#ErrorDocument 404 http://example.org/moodle/error/index.php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue