From 76a359ba9397e3d35b0c83aacc9d28fac5dc5d1e Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 10 Mar 2003 13:39:56 +0000 Subject: [PATCH] Added something for Apache 2 (to make 'slasharguments' work) AcceptPathInfo on --- lib/htaccess | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- 2.39.5