From: martin Date: Wed, 25 Sep 2002 12:33:21 +0000 (+0000) Subject: Improved explanations for how to use this file X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=04ad372d938804c281e6d235eca76e38bef8aef7;p=moodle.git Improved explanations for how to use this file --- diff --git a/lib/htaccess b/lib/htaccess index 975e6acf3f..046e493940 100644 --- a/lib/htaccess +++ b/lib/htaccess @@ -1,7 +1,30 @@ # On some PHP servers it may help if this file is copied # to the main moodle directory and renamed .htaccess # +# As soon as you do this, check your web site. Is it +# still working OK? If you are getting a "configuration +# error" then you may need to enable overrides by editing +# the main httpd.conf for Apache and in the main server +# or virtual server area, adding something like: +# +# +# AllowOverride All +# +# +# 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 + #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. + +#ErrorDocument 404 http://example.org/moodle/error/index.php