tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Bremford" <>
Subject RE: Virtual Hosting w/ Apache + Tomcat + mod_jk
Date Wed, 11 Oct 2000 10:21:21 GMT
Virtual Hosting w/ Apache + Tomcat + mod_jkYou don't say whether you're
using Tomcat 3.1 or 3.2. Virtual Hosting support improved greatly in 3.2,
and if you get the latest version (3.2b6) from
bin/ you should get the updated documentation too, which has more info on
setting up virtual hosts.

Cheers... Mike
  -----Original Message-----
  From: Ryan Littrell []
  Sent: 10 October 2000 18:59
  Subject: Virtual Hosting w/ Apache + Tomcat + mod_jk

  I have having difficulties setting up Virtual Hosts with Apache, Tomcat,
and mod_jk.  Below is my configuration thus far.


  The domains are:

  Each domain has a virtual host like:
          DocumentRoot <path-to-tomcat>/webapps/domain1
          JkMount /domain1/*.jsp ajp12


  Each context is in the dir:

  My problem is that when I access a jsp file at url it shows it as static HTML.

  This does work however, if I access the URL

  Basically, it would make things easier if I could map an apache url
request to a tomcat context below and put this in each virtual host entry:

  JkMount /*.jsp /domain1 ajp12

  I know I can not do this so does anyone have any ideas on how I can
accomplish this with mod_jk or mod_jserv without using mod_rewrite.

  Thanks in advance,


View raw message