Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added DirectoryIndex stuff

  • Loading branch information...
commit 96dad0de43c63d969f65f6f7147837eb9f7b56bd 1 parent 7104dfc
martin authored
Showing with 10 additions and 5 deletions.
  1. +10 −5 lib/htaccess
View
15 lib/htaccess
@@ -11,20 +11,25 @@
# AllowOverride All
# </Directory>
#
-# 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
Please sign in to comment.
Something went wrong with that request. Please try again.