tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Andy" <Andy.Mil...@hp.com>
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 [mailto:subscriptions@phillipmorelock.com] 
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
fillup


On 5/23/02 1:38 PM, "Miller, Andy" <Andy.Miller@hp.com> 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 
> http://mysite.com it says Access Forbidden!, if i goto 
> http://mysite.com/index.jsp it works just fine.
> 
> Any ideas?
> 
> Thanks,
> 
> Andy Miller
> andy.miller@hp.com
> 
> 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/workers.properties"
> 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:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message