The moose likes Tomcat and the fly likes Apache-Tomcat Multiple virtual host Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Apache-Tomcat Multiple virtual host" Watch "Apache-Tomcat Multiple virtual host" New topic
Author

Apache-Tomcat Multiple virtual host

Chirag Shah
Greenhorn

Joined: May 02, 2001
Posts: 9
I have multiple sites (different domain names) being hosted through an apache server. All of the sites have one servlet each mapped to the '/' url pattern(default handling). I am done configuring the first one through apache-tomcat by setting the root content handler.
How do I configure the second one. I will add it to the apache httpd.conf using virtual host, but how do I make the servlet a default handler for tomcat, since the servlet for the first website is already registered in the root-context.
Let me know your suggestions.
Thanks,
Chirag Shah
Greenhorn

Joined: May 02, 2001
Posts: 9
suggestions???
Andy Deighton
Ranch Hand

Joined: Apr 01, 2003
Posts: 39
I've only done this sort of thing in a Tomcat-only environment..
 
 
subject: Apache-Tomcat Multiple virtual host
 
Threads others viewed
tomcat as a virtual host
Apache/Websphere with virtual hosts
Apache RPM and Non Root user
How to set application context path in server.xml
Removing the Context path from my URL
MyEclipse, The Clear Choice