You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/03/03 13:08:18 UTC

DO NOT REPLY [Bug 26052] DOCUMENT_ROOT environment variable set incorrectly with VirtualDocumentRoot

https://issues.apache.org/bugzilla/show_bug.cgi?id=26052

--- Comment #29 from Grégory Starck <g....@gmail.com> 2010-03-03 12:08:13 UTC ---
Hi,

I've had the same problem :

I wanted to use VirtualDocumentRoot directive but because it doesn't set
accordingly the 'DocumentRoot' variable in cgi scripts then it's quite
"useless" to me : a RewriteRule/rewritemap can handle the same work as far as i
see -- so I'm asking what brings the VirtualDocumentRoot that mod_rewrite has
not already :-?

For now I'm using the workarround given by Kial but I'm not sure it'll fit all
my needs (that is I'm not sure some 3rd party applications don't use somewhere
the variable)..

It would be more than appropriate to have the proposed patch implemented into
mod_vhost_alias imho.

Grégory.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org