Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: URLRewrite help needed

Duane Burchell

2004-02-02

Replies:


I need to pay better attention to what I type.

> As I understand it, the steps would be :
> 1 ) Download the jar files and put them into a urlrewrite directory off
> the WEB-INF directory.

This should read :
1) Download the jar files, which will extract into a lib subdirectory off
the WEB-INF directory. The urlrewrite.xml and web.xml files are in the
WEB-INF directory.

Sorry.
- Duane

> 2) Alter the web.xml file to include this filter (using code straight
> form the tuckey.org site)
> 3) Alter the urlrewrite file to include the rules that I want (some basic
> substitutions from google-searchable URLs ex. /pageid/ -> &pageid= )
> 4) Restart tomcat.
>
> However, as soon as I add the filter code into the web.xml file, all
> requests return a 404 error (whether the request uses the filter or not).
>
> This seems like such an easy task, but I can't get it to work. If anybody
> can please point out something I'm overlooking, I would appreciate it.
>
> I'm using tomcat 4.1 on Win2K server.
>
> Thanks,
> Duane
k

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.