Sorry, thought I'd clear something up. In the Engine element, there's an attribute "defaultHost". You'd then create your one Host element with a name element that matches the defaultHost attribute of its surrounding Engine. Then within the Host, you'd have a single context, "the default", with a path attribute of empty string. (the empty string makes it the default one).
> -----Original Message----- > From: Mike Curwen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 26, 2004 9:30 AM > To: 'Tomcat Users List' > Subject: RE: Host Directive > > > If you can configure more than one Connector, you can use the > 'address' attribute on that element to specify which IP > address to listen on. > > Then, inside your connector, declare one host, make it the > default, and then you won't need a 'cgi folder'. (If by > that, you mean a context name). > > > > -----Original Message----- > > From: Charles P. Killmer [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 26, 2004 9:10 AM > > To: [EMAIL PROTECTED] > > Subject: Host Directive > > > > > > I have a few websites that I wish to run JSP pages through > > Tomcat. Now there are too many host names to create the > > multiple Aliases required to get this working properly. Is > > there a way to configure the host to listen on a single IP > > address instead of the host name? > > > > IE > > site1.com -> 172.1.1.2 > > www.site1.com -> 172.1.1.2 > > other.site1.com -> 172.1.1.2 > > ... -> 172.1.1.2 > > > > site2.com -> 172.1.1.3 > > www.site2.com -> 172.1.1.3 > > other.site2.com -> 172.1.1.3 > > ... -> 172.1.1.3 > > > > > > Also can I configure the root of the site to parse the JSP > > files? Currently I have to have all of the JSPs in a cgi > > folder, like the jsp-examples folder. > > > > Thank You > > Charles Killmer > > Netgain Technology > > [EMAIL PROTECTED] > > Office: (320) 251-4700 ext 107 > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
