Hi list,

I'm using mod_vhost_alias for dynamic virtual hosting. I would like to add some configuration statements whose value should be based on the virtual host that is actually being accessed. More precisely: I would like to use the value of VirtualDocumentRoot as value for another configuration variable. Is this possible?

<VirtualHost a.b.c.d:80>
   VirtualDocumentRoot /var/www/html/%0
   ServerAdmin [EMAIL PROTECTED]
   ServerName httpd.example.com
config-statement <VirtualDocumentRoot> <-- can something like this be accomplished?
</VirtualHost>

What I am actually trying to do is setting the value of php's
open_basedir config variable to the documentroot of the virtual host.

Thank your for any 2 cents.

Regards,

roel

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to