Re: How to test a tomcat virtual host?

2006-09-21 Thread ben short
If you are using windows you could try added a line like the following to the c:\WINDOWS\system32\drivers\etc\hosts file. 127.0.0.1 www.virtualhost1.com Then open www.virtualhost1.com in your web browser. the same this should be possible from linux but i dont have my linux hat on at the

Re: How to test a tomcat virtual host?

2006-09-21 Thread Hassan Schroeder
On 9/21/06, Samsamoddin Rajaei [EMAIL PROTECTED] wrote: I am trying to test my virtual hosts and my tomcat configuration on my local pc (Windows XP). When I start tomcat they are no exceptions and everything seems to be ok. When I call the page http://127.0.0.1:9080/; I see the defaultHost

Re: How to test a tomcat virtual host?

2006-09-21 Thread Samsamoddin Rajaei
Thank you, it should be the answer. I must only find which service or program uses the file hosts, because I can not modify it (it is not read only)! Sam If you are using windows you could try added a line like the following to the c:\WINDOWS\system32\drivers\etc\hosts file. 127.0.0.1