Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dinamic open basedir configuration with apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
PCnity
n00b
n00b


Joined: 23 Dec 2005
Posts: 41

PostPosted: Wed Aug 15, 2007 5:41 am    Post subject: Dinamic open basedir configuration with apache Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum