Curt,

This is an apache module that dynamically determines the data directories for a particular incoming request based upon the Host header.

After that directory is determined, then I set the admin value of things like "open_basedir" for php.

This prevents me from having to make an entry for every virtual host in the config file. As long as the directory exists, then apache will serve it up...

Tim.



At 11:46 AM 5/7/2004, Curt Zirzow wrote:
* Thus wrote Tim Traver ([EMAIL PROTECTED]):
> Just in case anyone wants to know the solution, I found one on the apache
> list...
>
> Apparently, from within an apache module, one can use the function
>
> zend_alter_ini_entry("open_basedir", 13, path, strlen(path), 4, 16);

I am curious as why you want to make a module to have it override
admin set settings in php userland.  There is a reason why admin
values are set.

Curt
--
"I used to think I was indecisive, but now I'm not so sure."

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to