From: moodler Date: Mon, 10 Mar 2003 13:39:56 +0000 (+0000) Subject: Added something for Apache 2 (to make 'slasharguments' work) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=76a359ba9397e3d35b0c83aacc9d28fac5dc5d1e;p=moodle.git Added something for Apache 2 (to make 'slasharguments' work) AcceptPathInfo on --- diff --git a/lib/htaccess b/lib/htaccess index c74d13b5f0..d73340c2ea 100644 --- a/lib/htaccess +++ b/lib/htaccess @@ -11,7 +11,17 @@ # AllowOverride All # # -### Firstly, set up some PHP variables that Moodle needs + +### Firstly, if you are using Apache 2, you need the following +### three lines to allow Apache to pass a PATH_INFO variable +### correctly for URLs like http://server/file.php/arg1/arg2 + + + AcceptPathInfo on + + + +### Secondly, set up some PHP variables that Moodle needs php_value magic_quotes_gpc On php_value magic_quotes_runtime Off