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 15:25:10 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?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message