On 7/2/06, Neo Wee Teck <[EMAIL PROTECTED]> wrote:
Hi,
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/somehostname.blah.com/htdocs
See:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26052
which outlines the whole long debate behind this issue and also
suggests a patch for those who want it.
Joshua.
---------------------------------------------------------------------
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]