[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

change DOCUMENT_ROOT via mod_rewrite



 
How can i rewrite the content of the environment variable DOCUMENT_ROOT via 
the mod_rewrite Apache module?
I've a mass-virtual-hosting system based on mod_rewrite, everything is 
working ok expect the DOCUMENT_ROOT that it's alsays refered to the principal 
DocumentRoot directive (/web/htdocs). 
In the doc page
http://httpd.apache.org/docs/vhosts/mass.html#overview
the problem is well explained ("The other thing to `fake' is the document 
root ...") and it say that can be solved via the VirtualDocumentRoot 
directive of the mod_vhost_dyn and via the mod_rewrite.
I've already tryied mod_vhost_dyn and it works but for various reason i 
cannot use this, but how can i do this with mod_rewrite?

Regards.

-- 
Davide Giunchi


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: