On Wed, 11 Dec 2002, Noel J. Bergman wrote:
> Date: Wed, 11 Dec 2002 20:15:32 -0500 > From: Noel J. Bergman <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Tomcat - a search engine liability?!?! > > Colin, > > The difference is that servlet mapping doesn't allow regex replacement, > whereas mod_rewrite allows: > > RewriteRule ^(.*)/mdlx/(.*).html$ $1/$2.mdlx > > That is completely off-the-cuff, so it might be syntactically wrong. > > If anyone here isn't familar with mod_rewrite, I highly recommend the URL > Rewriting Guide: http://httpd.apache.org/docs-2.0/misc/rewriteguide.html. > > To paraphrase a famous slogan: mod_rewrite -- Don't Run Your Web Server > Without It. Or implement the equivalent remapping in a Filter if you'd prefer a pure-Java solution. It's pretty easy to do -- and you can even use regexp replacement if you want :-). > > --- Noel > Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
