tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Morelock <>
Subject Re: index.jsp not getting sent via mod_jk to tomcat??
Date Thu, 23 May 2002 20:46:30 GMT
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: <>

View raw message