httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neo Wee Teck" <>
Subject [users@httpd] mod_vhost_alias
Date Sun, 02 Jul 2006 13:36:11 GMT

I just notice some problems when using mod_vhost_alias

It seems that when using VirtualDocumentRoot, the variable DocumentRoot in
PHP got mixed up

Server Global

> DocumentRoot /var/www/htdocs

Inside  <VirtualHost>
> VirtualDocumentRoot */var/www/vhost/*%0/htdocs

When I run a phpinfo script, this is the variable it gave

> _SERVER["DOCUMENT_ROOT"] /var/www/htdocs

Is this suppose to be correct? How can I force it to the interpolated path
which is /var/www/vhost/

View raw message