You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ranjan Sarkar <ra...@ultrainfotech.net> on 2002/05/08 13:59:44 UTC

Setting Virtual Host Access

Hi all,

I have configured Tomcat 4.0.1 with Apache using webapp_module.

Now the situation is  :

- I have to two virtual host lets say 'www.abc.com', 'www.xyz.com'.
- And two application say 'abc' and 'xyz' in my webapp directory of 
Tomcat both contains 'index.jsp'.

Problem is I want to give access to both the virtual hosts to their respective directories
means if some one asks for www.abc.com from browser the 
index.jsp page from 'abc' directory should display and if some one 
asks for www.xyz.com from browser the index.jsp page from 'xyz' 
directory should display.

Can anyone Please tell me how to do this..
It is Urgent...

Right now i can access index.jsp page from "www.abc.com/abc"

--Ranjan