|
Posted by John Nichel on 05/13/05 16:14
Richard Lynch wrote:
> On Thu, May 12, 2005 12:48 pm, dan said:
>
>>I'm trying to override the value of php.ini's 'auto_prepend_file'
>>function, inside of an Apache Directory container. I'm not having much
>>luck. In fact, no luck at all. This never happens.
>>
>>So I'm wondering now, are functions set by 'php_value' inside of an
>>Apache config file only good for the entire VirtualHost in question, or
>>can they be applied on a per-directory basis using Apache's Directory
>>directive?
>
>
> Certainly some php_value directives can be over-ridden in .htaccess,
> regardless of whether they were set globally in httpd.conf or in a
> VirtualHost or Directory block.
>
> Equally certainly, some cannot be over-ridden.
>
> I am almost 100% certain that php_value makes no distinction between
> *where* in httpd.conf the setting comes from. I daresay php_value in
> .htaccess can't even tell the difference from one part of httpd.conf to
> the other.
>
> http://php.net/ has a page devoted to describing exactly which php_value
> settings can be over-ridden where. Check that.
>
> It's also possible that once auto_prepend_file is set, it's set, and
> that's it -- Regardless of where it is set, you're stuck with it at that
> value.
<snip>
It's also possible that the webserver itself is not configured to allow
..htaccess files to overwrite values.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
[Back to original message]
|