Yes, specific to a Tomcat issue, but the solution incorporates Apache. :) 

John


> -----Original Message-----
> From: neal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 3:54 PM
> To: Tomcat Users List
> Subject: RE: RewriteRules and Standalone Tomcat
> 
> 
> Oh.  :(
> 
> But this was actually a solution offered specific to a Tomcat issue:
> 
> Issue: Unlike Apache, tomcat automatically redirects to the 
> welcome page,
> rather than forwarding.  In other words, to present the 
> welcome page tomcat
> will literally redirect (http 302) to www.xyz.com/index.html, 
> rather than
> staying at www.xyz.com.  I do not want this effect as I am 
> affraid it will
> have negative effects on my search engine placement.
> 
> I was given the advice to use a RewriteRule to fix this problem.
> 
> If this is not the solution, does anyone know what the 
> solution is?  I was
> told this is actually a "feature" of tomcat ... I call it a 
> PAIN IN THE ASS,
> and a serious oversight for standalone Tomcat.
> 
> Anyone know a solution?
> 
> Thanks.
> Neal
> 
> 
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 08, 2003 7:16 AM
> To: 'Tomcat Users List'
> Subject: RE: RewriteRules and Standalone Tomcat
> 
> 
> 
> Beat me with a stick if I'm wrong, but RewriteRule is for 
> Apache when using
> mod_rewrite, I don't think you can use it in server.xml or web.xml.
> 
> John
> 
> 
> > -----Original Message-----
> > From: neal [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 08, 2003 4:51 AM
> > To: Tomcat Users List
> > Subject: RewriteRules and Standalone Tomcat
> >
> >
> > What exaclty is a RewriteRule and how is it used with
> > Standalone Tomcat? Do
> > I define my RewriteRules somewhere in server.xml or web.xml?
> >
> > A couple of months ago, Noel told me how I could get Tomcat
> > to show the
> > content of the default welcome page without redirecting (http
> > 302) to the
> > file, using a RewriteRule.  I took notes from that email and
> > set it aside
> > only to realize when I returned ... that I have no idea what
> > to do with this
> > info!  And of course no info is available (that I could find)
> > online or in
> > the Tomcat manual explaining this.  :(
> >
> > Could someone please explain how this RewriteRule would be
> > integrated into
> > Tomcat:
> >
> >   RewriteRule  ^/$  /index.html   [L]
> >
> > Thanks!
> > Neal
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002
> >
> >
> 
> --
> 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