[users@httpd] mod_vhost_alias dynamic configuration of other variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 info@xxxxxxxxxxx
   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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux