You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Thomas Stiller <to...@email.com> on 2002/02/26 15:56:44 UTC
Setup of multiple DocumentRoots for Apache ???
I want setup a hierarchy of DocumentRoots for one domain.
That means if a user requests a page xxxxx.html
Apache should look first at the DocumentRoot1=/usr/local/test
if not found it should look in DocumentRoot2=/usr/local/lastrelease
Finally if not found it should look in DocumentRoot3=/someotherdir/oldrelease
How do I do this ?
cu
Thomas
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Email.com
http://www.email.com/?sr=signup
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org
Re: Setup of multiple DocumentRoots for Apache ???
Posted by Martin Haase-Thomas <mh...@meome-ag.de>.
http://httpd.apache.org/docs/vhosts/examples.html#serverpath
Thomas Stiller wrote:
>I want setup a hierarchy of DocumentRoots for one domain.
>That means if a user requests a page xxxxx.html
>
>Apache should look first at the DocumentRoot1=/usr/local/test
>if not found it should look in DocumentRoot2=/usr/local/lastrelease
>Finally if not found it should look in DocumentRoot3=/someotherdir/oldrelease
>
>How do I do this ?
>
>cu
>Thomas
>
--
http://www.meome.de
-------------------------------------------------------
Martin Haase-Thomas | Tel.: 030 43730-558
meOme AG | Fax.: 030 43730-555
Software Development | mht@meome-ag.de
-------------------------------------------------------
---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org