• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to Configure Apache HTTp Server with Tomcat

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 75
Tomcat Server Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic