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]>

Reply via email to