my dog learned polymorphism*
The moose likes Tomcat and the fly likes How to Configure Apache HTTp Server with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to Configure Apache HTTp Server with Tomcat" Watch "How to Configure Apache HTTp Server with Tomcat" New topic
Author

How to Configure Apache HTTp Server with Tomcat

Kalyan Cb
Greenhorn

Joined: Apr 27, 2011
Posts: 1
Hi

I have installed Apache HTTP server at 80 port and installed Tomcat 5.5 at 8080 port.
Deployed my JSP web app in Tomcat able to access at http://localhost:8080/TestApp/.
But i want to know indetailed what are all the configurations i need make in Apchee and Tomcat if i want to access my application at http://localhost/

Thanks,
Kalyan CB
Vijay Dogra
Greenhorn

Joined: Sep 16, 2004
Posts: 22
You can always change the port number in server.xml to listen it to 80 instead of 8080 and then setting the context of application in your web.xml file accordingly
K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75

Kalyan Cb wrote:I have installed Apache HTTP server at 80 port and installed Tomcat 5.5 at 8080 port.
Deployed my JSP web app in Tomcat able to access at http://localhost:8080/TestApp/.
But i want to know indetailed what are all the configurations i need make in Apchee and Tomcat if i want to access my application at http://localhost/


few options, details here:
http://wiki.apache.org/tomcat/FAQ/Connectors

mod_jk is mature, stable and extremely flexible..
It is under active development by members of the Tomcat community.

mod_proxy. A cheap way to proxy without the hassles of configuring JK.
If you don't need some of the features of jk - this is a very simple alternative.
http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html#Apache_2.0_Proxy_Support

good luck!
http://www.uki6.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Configure Apache HTTp Server with Tomcat
 
Similar Threads
Unsupported response content type "text/html", must be: "text/xml".
Tomcat server installation
Tomcat Doubt
Configuring Apache 2 & Tomcat 5.0.28
Can't access tomcat externally