Mike, I think there was discussion on tomcat-dev about this issue (with jk2) recently (~2/3 weeks ago)... there should also be a bug report in bugzilla. Try searching both those archives.
Of course, it's been a while and I wasn't really paying attention to the conversation because it didn't impact my use, so this may be a bit of a red herring. I hope it isn't :) http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] che.org&msgId=404644 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10789 Good luck, Michael ----- Original Message ----- From: "Michael Remijan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 3:03 PM Subject: RE: automatically serve index.jsp > ... > > Nope, that does work either. I've been using tomcat for a while so I've already tried the most of those kinds of things. > > It looks to me like the mappings in the workers2.properties file is looked at first. If a matching is found, it is forwarded to tomcat. If not, it goes to apache. Since I have directory browsing for that directory off and no index.html I get apache's standard error message for not being able to see that file. What I want apache to do is translate http://localhost/diary/ into http://localhost/diary/index.jsp. can I do this with a redirect? > > <mike/> > > > -----Original Message----- > From: Subir Sengupta [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 1:24 PM > To: 'Tomcat Users List' > Subject: RE: automatically serve index.jsp > > > Put this in your web.xml > > <welcome-file-list> > <welcome-file>index.jsp</welcome-file> > </welcome-file-list> > > Subir > > -----Original Message----- > From: Michael Remijan [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 11:02 AM > To: Tomcat Users List > Subject: RE: automatically serve index.jsp > > > ... > > having this snippet workers2.properties also works > > - workers2.properties (snippet) ------------------------------------------- > [uri:/diary/] > info=Map the whole webapp > ------------------------------------------------------------------------ --- > > > <mike/> > > -----Original Message----- > From: Steve Prior [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 12, 2002 12:53 PM > To: Tomcat Users List > Subject: Re: automatically serve index.jsp > > > You're a little ahead of me in doing this, but did you try adding > index.jsp to a DirectoryIndex directive in Apache? > > This was very obious to do in Apache 1.3, not sure as obvious in 2.0. > > Steve > > Michael Remijan wrote: > > hi all, > > > > I'm currently working on Apache 2.0.39 <-> tomcat-4.1.8 with mod_jk2 and > jdk1.4.0_01. I've posted previously about apache giving a directory listing > instead of returning index.jsp. The only way I've been able to get around > this problem is editing the workers2.properties file to include a mapping to > the whole webapp... > > > > > > - workers2.properties (snippet) > ------------------------------------------- > > [uri:/diary/*] > > info=Map the whole webapp > > > ------------------------------------------------------------------------ --- > > > > > > > > I have an alias and directory in httpd.conf set up as follows.... > > > > - httpd.conf (snippet) > ---------------------------------------------------- > > ## > > ## diary webapp > > ## > > Alias /diary "C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary" > > > > <Directory "C:/apps/Tomcat/jakarta-tomcat-4.1.8-LE-jdk14/webapps/diary"> > > Options FollowSymLinks MultiViews IncludesNoExec > > AddOutputFilter Includes html htm gif jpeg jpg > > AllowOverride None > > Order allow,deny > > Allow from all > > </Directory> > > > ------------------------------------------------------------------------ ---- > > > > > > The question I have is, because of mapping the whole webapp in the > workers2.properties file, will that basically override apache serving static > content? I assuming it would but I don't have the time to go digging > around in the connector's source. > > > > > > thanks, > > <mike/> > > > > > > -- > > 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]> > > > > > -- > 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]>
