php_value in htaccess, internal server error
| From: | Egan | Date: | Wed, 15 Aug 2001 17:38:27 +0000 |
| Subject: | php_value in htaccess, internal server error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62877@lists.php.net to get a copy of this message | ||
I need to set some PHP values like:
php_value session.save_path /a_more_secure_dir
in my .htaccess file. But the main Apache httpd.conf file has:
AllowOverride AuthConfig FileInfo Indexes
and php_value in .htaccess causes Apache internal server error!
Now if I change httpd.conf to say:
AllowOverride All
then php_value works in .htaccess, with no error!
But as you know, using "AllowOverride All" in httpd.conf is BAD! How
do I allow php_value in .htaccess, without it? I tried:
AllowOverride php_value
but Apache rejects it as a configuration error. :-(
Help, please!
Egan