]> git.mjollnir.org Git - moodle.git/commitdiff
Added something for Apache 2 (to make 'slasharguments' work)
authormoodler <moodler>
Mon, 10 Mar 2003 13:39:56 +0000 (13:39 +0000)
committermoodler <moodler>
Mon, 10 Mar 2003 13:39:56 +0000 (13:39 +0000)
<IfDefine APACHE2>
    AcceptPathInfo on
</IfDefine>

lib/htaccess

index c74d13b5f0438f2348b281d0fab5a3fd99c70f80..d73340c2ea6aec417b584b3d7ba788966fecbd64 100644 (file)
 #     AllowOverride All 
 # </Directory>
 #
-### 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
+
+<IfDefine APACHE2>
+    AcceptPathInfo on
+</IfDefine>
+
+
+### Secondly, set up some PHP variables that Moodle needs
 
 php_value magic_quotes_gpc On
 php_value magic_quotes_runtime Off