Reply to Re: [PHP] auto_prepend_file in Apache Directory container

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация