> From: Marty Pitt NZ [mailto:martyp...@me.com]
> Subject: Testing Tomcat with Virtual Hosts

> I've edited my hosts file to look as follows:
> 127.0.0.1       localhost
> ::1             localhost
> 127.0.0.1       test1.localhost
> localhost       test2.localhost

The last line is a little odd; why aren't you using 127.0.0.1 for 
test2.localhost?

> However, I'm getting a 404 when hitting test1.localhost:8080/myWebApp,
> although localhost:8080/myWebApp works fine.

Can't see anything wrong in what you've done in the Tomcat config.  Try 
enabling the AccessLogValve and see what it says.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to