I have two sites running on the same server that are sharing classes, jsps,
etc. I want them to be accessible via two different domains though, as
follows:

http://domain.com/     should serve files from /webapps/ROOT
http://otherdomain.com/    should serve files from /webapps/ROOT/otherdomain

[I don't want to create a virtual host, because all the jsps and class files
will have to be replicated and the war file expanded to two places]. What I
need is a simple Url Rewrite based on host. If the host is otherdomain.com
then simply prepend "otherdomain" to the uri. Is there a relatively simple
way to do this in Tomcat, since I'm not able to find any?

Thanks!



-- 
View this message in context: 
http://www.nabble.com/URL-rewriting-issue-in-tomcat-tf4863127.html#a13916622
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to