Skip to content

Commit

Permalink
Added something for Apache 2 (to make 'slasharguments' work)
Browse files Browse the repository at this point in the history
<IfDefine APACHE2>
    AcceptPathInfo on
</IfDefine>
  • Loading branch information
moodler committed Mar 10, 2003
1 parent 7563a07 commit 76a359b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/htaccess
Expand Up @@ -11,7 +11,17 @@
# 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
Expand Down

0 comments on commit 76a359b

Please sign in to comment.