Thanks for the suggestions, I'll definitely have to look into them.

For someone unfamiliar with these things those mod_rewrite or filters do you
think it would be easier to just throw in the towel on using tomcat for http
serving and move Apache in front of it, or is it easier to write one of
these solutions?

Also, jsut to clarify - these mappings filters and rewrites would all occur
prior to initial output and result in a completely normal, well-formed
server header for a requested document?   I mean, http status code would be
200, the extention and content-type could appear to be html, etc? Would
there be any clue to a search engine  that any of these things aren't what
they appear to be?

Thanks.
Neal

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 7:10 PM
To: Tomcat Users List
Subject: RE: Tomcat - a search engine liability?!?!




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


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to