• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

How to map a Tomcat context to Apache

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I set up an Apache2 - Tomcat 5.5 - mod_jk Connection and it works fine.

But now I want to map a Tomcat context to the domain root directory, but I don't know how to do it.

Now it looks like this:
http://www.mydomain.com/context/index.html
(Tomcat: http://localhost:8080/context/index.html)

It should look like this:
http://www.mydomain.com/index.html
(Tomcat: http://localhost:8080/context/index.html)

Does anyone of you know where I have to look to get the right configuration?
I am searching since a few days, but can't find the solution

Thanks for any help.
Greetings, hal
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I havent worked with this kind of thing for awhile, but I think you can set "virtual servers" or you can declare multiple mappings in your server.xml and have one of them accept input from a certain domain name.
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic