Re: Using php_value in .htaccess files
| From: | Michal Migurski | Date: | Mon, 23 Aug 2004 23:10:13 +0000 |
| Subject: | Re: Using php_value in .htaccess files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194540@lists.php.net to get a copy of this message | ||
> Is there anything special one has to do in order to enable the use of
> the "php_value" directive in the context of an apache .htaccess file?
>
> I notice that on some hosts I can drop in something like:
>
> php_value auto_prepend_file groove.php
>
> with impunity. Other hosts, it causes Apache to generate an internal
> server error.
I believe Apache's Allowoverride directive must have "Options" or
"+Options" set for php_value changes to be permitted on a per-directory
basis in .htaccess files.
"Allowoverride All" is one way to make sure they're permitted. :D
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html