You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by scott leonard <bz...@scottleonard.org> on 2004/02/21 17:28:34 UTC
[users@httpd] suggestions on faking DOCUMENT_ROOT
the server variable DOCUMENT_ROOT has long been a issue for me. i've
resisted using mod_vhost_alias for a long time, but recently
implemented it.
the issue, that many might be familiar with, is that mod_vhost_alias
doesn't set DOCUMENT_ROOT, so all my portable web applications that use
this variable to find their absolute path, break and need to be
hardwired to their current path. this sucks and is not elegant to me.
and to further it's stubbornness, it seems this is the one variable i
can't manually set via apache's 'SetEnv' directive.
i'm reaching out and looking for a good list of clever solutions to
this ridiculous problem and possibly a good explanation/philosophy of
why it still exists.
thanks.
_
ยง
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org