If you've got a line that reads:

"DirectoryIndex index.jsp" in the config then that should work as far as
apache is concerned. I'm assuming that you restarted apache after making the
change to httpd.conf.

If this is within the context of a virtual host then you may need to add the
DirectoryIndex directive to that vhost as well.

More of the config file would be helpful.

-avery

-----Original Message-----
From: Miller, Andy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 4:09 PM
To: Tomcat Users List
Subject: RE: index.jsp not getting sent via mod_jk to tomcat??


I know your 'ghetto' solutions will work.  They are my last resort.

thanks

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


is that in response to my "sort of" solution?

sounds like you're messing with httpd.conf, which I liken to mad science
when you involve tomcat connectors ;)

fillup


On 5/23/02 2:02 PM, "Miller, Andy" <[EMAIL PROTECTED]> wrote:

> 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:[EMAIL PROTECTED]]
> 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" <[EMAIL PROTECTED]> 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
>> [EMAIL PROTECTED]
>> 
>> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to