-------Original Message------- > From: Leandro Costa <ldcosta@(protected)> > Subject: Re: virtual hosting? anyone succeed? > Sent: 20 Dec 2003 14:53:14 > > Look at the logs, something is fubar'd, that's why you see a 'blank page' > > > > On Sat, 20 Dec 2003 14:34:03 -0400 > > "29djeo" wrote: > > > > > Has anyone succeeded in getting tomcat 5.0.16 set up for virtual hosting without using apache as a front end? > > > > > > I'm trying to get one instance of tomcat to serve two domains on the same machine. > > > > > > I have added two Host sections to server.xml and I see the following behavior when I access the sites from a browser running on the same host as tomcat: > > > > > > http://localhost:8080 - default context > > > http://www.mydomain1.com - blank page > > > http://www.mydomain2.com - blank page > > > http://mydomain1:8080 - correctly runs the mydomain1 context > > > http://mydomain2:8080 - correctly runs the mydomain2 context > > > > > > how do I get www.mydomain1.com and www.mydomain2.com to show the correct contexts? > > > > > > from another host on my network the only context I can load is http://hostname:8080 to see the default context. All other contexts like http://www.mydomain1.com and http://domain1.com:8080 result in an "action cancelled" from ineternet explorer. > > > > > > Here is an excerpt from server.xml: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > www.mydomain1.com > > > > > > > > > > > > > > > www.mydomain2.com > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > > For additional commands, e-mail: tomcat-user-help@(protected) -------Original Message-------