PCnity n00b
Joined: 23 Dec 2005 Posts: 41
|
Posted: Wed Aug 15, 2007 5:41 am Post subject: Dinamic open basedir configuration with apache |
|
|
Hello
I have one box for serving about 30 domains + ~10 subdomains on each. The directory structure is:
/hsoting/domain.tld/www, sub1, sub2, _ (symbolic link to www)
With dynamiv_vhosts, i have just one vhost file.
But is it possible to do also something like this:
<DirectoryMatch "^/hosting/{domain}.{tld}/{sub}">
php_admin_value open_basedir "/hosting/{domain}.{tld}/{sub}/:/tmp"
</DirectoryMatch>
???
Now i have for each domain one <directory> with open_basedir set. Is there a way to do it dynamicly?
Thank you very much. |
|