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
[Back to original message]
|