tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: mod_jk & apache's DirectoryIndex directive
Date Tue, 28 Jan 2003 20:06:21 GMT

Easy.  You asked for suggestions, this is a FAQ, I replied with the same
list of answers that get posted everytime this question is answered.  If you
don't like the answers, change the code, or come up with your own solution.
No need to get snippy.

John

> -----Original Message-----
> From: Sven Köhler [mailto:skoehler@upb.de]
> Sent: Tuesday, January 28, 2003 2:46 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: mod_jk & apache's DirectoryIndex directive
> 
> 
> > 1. use mod_rewrite, and rewrite / to /index.jsp
> 
> to specific.
> as you can see, i wanted index.html to be preferred.
> 
> > 2. use index.html with a META REFRESH of zero to index.jsp
> 
> ???
> do you really believe that i want to use a META REFRESH?
> 
> > 3. send everything to Tomcat, ("/*") and use <welcome-file> 
> in web.xml
> 
> sending everything to tomcat is not that well design.
> we could talk about sending html/htm to tomcat too, but that would be 
> waste of CPU time
> 
> > 4. probably others, like writing a Filter
> 
> OK, but requires 3.
> 
> > In short, putting index.jsp on the DirectoryIndex line has 
> no effect.  You
> > might be able to play with the module load order so that mod_dir (or
> > whatever its called) was loaded before mod_jk, but I don't 
> if anyone has
> > done that or if it would work.
> 
> I will try later, but on my first try, mod_jk tried to use a 
> symbol of 
> mod_dir which was not loaded, and therefor apache failed to start.
> 
> 
> 
> --
> 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