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 2008/05/01 05:17:28 UTC

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

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


lundman <lu...@lundman.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lundman@lundman.net




--- Comment #26 from lundman <lu...@lundman.net>  2008-04-30 20:17:27 PST ---
> * Setting a VIRTUAL_DOCUMENT_ROOT environment variable is useless, because it
> still requires users of the system to recode.

Except the way it is now, it is not possible for me, as a developer, to get the
information "I must have". Simply can not be done.

I use this for all users home directory (just the one vhost for 200,000
customers)
    VirtualDocumentRoot "/export/cgi/%-1/%-2.-1/%-2.-2/%-2+/"

The suggestion above to "yet again" create the hash with mod_rewrite, just so I
can set a DocumentRoot, is not maintainable, and rather risk-prone.

Even though "VIRTUAL_DOCUMENT_ROOT" is undesirable, it at least gives me _one
possible way_ to set the real "ROOT" for the scripts/users home etc. Even to
buy me time while you guys argue over semantics.

Which leaves me, and probably others, with patching Apache, which will further
complicate future support, debugging, and delay any upgrade for security
patches, bringing down the reputation of Apache. 

Seriously, do something about it please :)


-- 
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