Hi guys, I have some problems with running two application on different domain in root context. I'm using
Tomcat 5.5 on Debian Linux. See example:
I have two domains first.example.com and second.example.com. Web applications have name first and second. The goal is make these application available through addresses first.example.com and second.example.com. I don't want first.example.com/first and second.example.com/second. It isn't user friendly. My configuration in conf/server.xml:
Next, in conf/Catalina/first/first.xml:
(conf/Catalina/second/second.xml is similar).
When I make directory webapps/ROOT, it works correctly only for one of my applications. It seems stupid when your context depends on name of web application directory. There must be elegant solution for "more root context" (more ROOT directories on same Tomcat server).
Thanks for help!
MC