httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furesz Peter <the_co...@freemail.hu>
Subject [users@httpd] apache dynamic virtualhosting + open_basedir
Date Fri, 14 Mar 2003 13:35:00 GMT
Hi! 
I have a problem with my httpd.conf and PHP. I would like to make PHP hosting. When a user
register, I put into directory /foo/bar/username.mydomain.com. My httpd.conf is the following:

<Directory /foo/bar> 
AllowOverride None 
Options None 
php_admin_value max_execution_time 30 
#The following line is my QUESTION !!! 
php_admin_value open_basedir /foo/bar 
</Directory> 

<VirtualDocumentRoot aaa.bbb.ccc.ddd> 
VirtualDocumentRoot /foo/bar/%0 
</VirtualHost> 

How can I close my user his/her directory with open_basedir ? I don't want to make own rules
for every user, I want to resolve this problem dynamicly, like the VirtualDocumentRoot, but
I can't use apache variable (like %0) with open_basedir. Why? How can I make this?

Mime
View raw message