open_basedir and VirtualHosts in httpd.conf
| From: | Hendrik Daldrup | Date: | Sun, 15 Sep 2002 16:34:33 +0000 |
| Subject: | open_basedir and VirtualHosts in httpd.conf | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116443@lists.php.net to get a copy of this message | ||
Hi,
i have several VirtualHosts in my httpd.conf and would like to restrict each to his home dir, but everyone should also have access to /tmp/ and /webmail/.
Currently i have to add
php_admin_value open_basedir /home/username/:/tmp/:/webmail/
to every VH in the httpd.conf file.
Is there an easier way?
Can't i say s.th. like "use open_basedir /tmp/ & /webmail/ globally + whatever is set in the VH"?
It would make my life way easier!
Thanks,
Hendrik