Web Hosting Talk







View Full Version : How to setup open_basedir for all Virtual Hosts?


null
01-13-2003, 12:17 AM
Hi, I have like 20 clients on my server and each of them has his own VirstualHost entry in httpd.conf.

I want to set php open_basedir directive for every client, so that they will be able to include files only from their home directories.

I dont want to write

php_admin_value open_basedir "/home/client/"

in every VirtualHost entry

Is there any solution to do it for all clients with one line?

Thanks

null
01-13-2003, 01:23 AM
Did anybody here have the same problem? How did you solve it?