Hi all, I have many entries in /etc/hosts file, like this cat /etc/hosts 127.0.0.1 main.host.com localhost ::1 localhost6.localdomain6 localhost6 a.b.c.d client1.host.com hostname a.b.c.d client1.host.com hostname
in webapp directory, webapp folders client1 client2 my tomcat uses port 80, so by default when I enter any of above hostname on browser I could see default index page, but my interest is like below if I enter *http://client1.host.com <http://client1.host.com>* on browser, then tomcat should forward it to webapp client1 *http://client1.host.com/client1 <http://client1.host.com/client1>* same way if I enter *http://client2.host.com <http://client2.host.com> *it should forward to to *http://client2.host.com/client2 <http://client2.host.com/client2>* How this can be achieved *I am not interested to use virtual host in tomcat, as well as http apache* whether its possible ??? Please help me..if possible send me sample configuration file as I am newbie to web programming world. Thanks in advance - Peter