From: martin Date: Wed, 25 Sep 2002 16:33:54 +0000 (+0000) Subject: Added DirectoryIndex stuff X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=96dad0de43c63d969f65f6f7147837eb9f7b56bd;p=moodle.git Added DirectoryIndex stuff --- diff --git a/lib/htaccess b/lib/htaccess index 046e493940..45adb7a06e 100644 --- a/lib/htaccess +++ b/lib/htaccess @@ -11,20 +11,25 @@ # AllowOverride All # # -# Firstly, set up some PHP variables that Moodle needs +### Firstly, set up some PHP variables that Moodle needs php_value magic_quotes_gpc 1 php_value file_uploads 1 -# These are optional - you may not want to override php.ini +### These are optional - you may not want to override php.ini #php_value upload_max_filesize 2M #php_value post_max_size 2M -# 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) about 404 errors. +### Optional definition of default files + +#DirectoryIndex index.php index.html index.htm + + +### 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) about 404 errors. #ErrorDocument 404 http://example.org/moodle/error/index.php