Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Configure Apache HTTp Server with Tomcat

 
Kalyan Cb
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic