• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Configuring Tomcat 5 with Apache 2

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

Recently I successfully configured my tomcat 5 and apache 2 to run together. I am using the new JK2 module. I can specify URL patterns like jsp-examples/* in the Apache workers2.properties file and this is forwarded on to tomcat.

What I would like to do is have requests to for example: http://localhost/tomcat go to tomcat's root

So for example, http://localhost/jsp-examples becomes, http://localhost/tomcat/jsp-examples

This way I can get access to all my tomcat apps via the /tomcat/ context path defined on apache.

This is instead of specifying each and every url mapping from apache to tomcat.

I hope I made myself clear. Are there any apache/tomcat config experts out there?

Thank you for any help.

Greatly appreciated.

James.
[ December 20, 2004: Message edited by: James Turner ]
 
Replace the word "snake" with "danger noodle" in all tiny ads.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic