Re: php_value in htaccess, internal server error
| From: | David Robley | Date: | Thu, 16 Aug 2001 01:44:17 +0000 |
| Subject: | Re: php_value in htaccess, internal server error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62928@lists.php.net to get a copy of this message | ||
On Thu, 16 Aug 2001 03:08, Egan wrote:
> 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
Yuo might try allowovveride options
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
He who places head in sand, will get kicked in the end!