Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting multiple document roots

Status
Not open for further replies.

vivek100

Programmer
Mar 17, 2003
7
IN
Hi All,
I have one document root as H:\ARCH on Windows.
I have another directory J:\Arch2.
I need to set the document root for the second dir J:\Arch2 also.

I have given the alias for J:\Arch2 in httpd.conf file, but the in error log, it is refering as dir not found.
can i set multiple document roots. if so, how?

Thanks in advance,
Vivek

 
Hi Elgrandeperro,
I have one URL under from which the content needs to be served.
Is it possible using virtual hosting. If so,can i have an example.

Thanks and Regards,
Vivek
 
You can't have two DocumentRoots. Tell us what you want to do and we will tell you how to make it happen.
 

Yeah, I was confused. There are ways to simulate one using rewriterules, but you need to differentiate the URLS in some manner.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top