httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furesz Peter <>
Subject [users@httpd] apache dynamic virtualhosting + open_basedir
Date Fri, 14 Mar 2003 13:35:00 GMT
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/ 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 

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

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?

View raw message