Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Tomcat / Httpd configuration

Thread view: 
gregory.tanneau@gmail.com - 04 Jun 2007 13:37 GMT
Hi all !

I have a tomcat installation hosting 3 application, say

http://localhost:8080/app1
http://localhost:8080/app2
http://localhost:8080/app3

I have one apache httpd in front of tomcat.

What i want to do, is to map a "root" url to each of my tomcat
context :

http://localhost:9090/  => http://localhost:8080/app1
http://localhost:9091/  => http://localhost:8080/app2
http://localhost:9092/  => http://localhost:8080/app3

I tried many configuration, using mod_jk, mod_rewrite, mod_proxy and
mod_proxy_html ...

The best config i found to do so, is using mod_proxy to map / to a
tomcat context, with help from mod_proxy_html for html rewriting. But
this module is not fully fonctionnal, since it breaks some of my code
(some tags are not supported, and i dont want to try to comile a 3.0-
dev version).

Please tell me what is the best way to set such a configuration.

Thx !
Arne Vajhøj - 09 Jun 2007 19:21 GMT
> I have a tomcat installation hosting 3 application, say
>
[quoted text clipped - 13 lines]
> I tried many configuration, using mod_jk, mod_rewrite, mod_proxy and
> mod_proxy_html ...

Have you tried putting JkMount directives inside the VirtualHost tags ?

Atne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.