Thanks Wasington.

But, wouldn't this expose my Tomcat to the web as per Duggan's email?

On Fri, Nov 5, 2010 at 2:10 PM, Odhiambo Washington <odhiambo@gmail.com> wrote:


On Fri, Nov 5, 2010 at 1:56 PM, Martin Kihuha <mkihuha@gmail.com> wrote:
Hi Everyone,

Am running a Tomcat based site and would like to remove the 8080 that is appended at the end of each URL on my site. I have tried changing the port from 8080 to 80 on my web.xml file, but this now causes my browser to default to the default Apache page as opposed to my site's home page.

Tomcat is binded to port 8080. If you have Apache on the same server, it is binded to port 80. It therefore means you cannot edit web.xml and make Tomcat to bind to port 80 unless you kill/disable Apache, or edit httpd.conf and make Apache bind to port 8080 instead, then let Tomcat bind to 80.
You cannot have the two daemons binding to port 80! The first one to come up will bind, the next one will fail and die().

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke