Mailing List Archive

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 ??? [ In reply to ]
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