You are here: auto_prepend_file in Apache Directory container « PHP « IT news, forums, messages
auto_prepend_file in Apache Directory container

Posted by Dan on 05/12/05 22:48

Hello, all -

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? Or am I justflat-out doing something wrong? I have something
similar to this:

<VirtualHost 1.2.3.4>
...apache config...
php_value auto_prepend_file \
/var/www/virtual/pornpromoter.net/dev1/auto_prepend_file_02.php
...more apache config...
</VirtualHost>

Threw in the '\' there for the sake of some mail clients that would wrap
the line. The '\' is not present in the configuration file.

I've been doing some research and have come up dry. I was hoping
someone would be kind enough to provide some answers here.

Thanks!
-dant

 

Navigation:

[Reply to this 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

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