tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Andy" <>
Subject RE: index.jsp not getting sent via mod_jk to tomcat??
Date Thu, 23 May 2002 21:02:21 GMT
Darn, thought I was on to something there.  I setup an alias thusly:

Alias / "e:/mycodebase/index.jsp"

But it just returned my index.jsp, unprocessed, to the browser... bummer

-----Original Message-----
From: Phillip Morelock [] 
Sent: Thursday, May 23, 2002 3:47 PM
To: Tomcat Users List
Subject: Re: index.jsp not getting sent via mod_jk to tomcat??

i've got a "ghetto-fabulous" solution -- just put an index.html there
with a 0-delay refresh or a javascript refresh.

I actually do it with a php script that sends a redirect header instead,
because for some reason apache's default "index.php" thing will still
work (if you have PHP installed, that is).

I know this isn't exactly what you wanted but I, too, get puzzled by the
layering of TC/Connector/Apache, etc. sometimes....and often I just find
a good little workaround like this rather than futz with configuration.

good luck

On 5/23/02 1:38 PM, "Miller, Andy" <> wrote:

> I guess this is actually more of an apache question, but i'm using 
> mod_jk to get my apache2 webserver to use Tomcat 4.03.  All is good, 
> except that I have a default page configured in apache to index.jsp 
> (via DirectoryIndex directive in httpd.conf),  i've got mod_jk 
> configured to foward .jsp to Tomcat, but when i go to 
> it says Access Forbidden!, if i goto 
> it works just fine.
> Any ideas?
> Thanks,
> Andy Miller
> ps. here's the bottom of my httpd.conf file:
> ### Hook for Tomcat
> <IfModule !mod_jk.c>
> LoadModule jk_module modules/mod_jk.dll
> </IfModule>
> JkWorkersFile "e:/java/tomcat-4.0.3/conf/"
> JkLogFile "e:/java/tomcat-4.0.3/logs/mod_jk.log"
> JkLogLevel info
> jkMount /examples/* ajp13
> jkMount /tomcat-docs/* ajp13
> JkMount /servlet/* ajp13
> JkMount /*.jsp ajp13
> JKMount /*.do ajp13

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message