Hi Guys,
I have searched the lists for a good filter to rewrite urls and found a post
where David adviced to use Tuckey filter. So I downloaded that one, put the
jar file in the lib folder and added conf info into web.xml of webapp in my
component. In other words followed the guide from the lib developer. But it
seems like it is just not loading. When I request
http://localhost:8080/rewrite-status it shows Bad request 400 HTTP error.
Here is where I placed it in web.xml ( above ContextFilter)
...
<filter>
<filter-name>UrlRewriteFilter</filter-name>
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>DEBUG</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter>
<filter-name>ContextFilter</filter-name>
<display-name>ContextFilter</display-name>
<filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class>
<init-param>
...
What I am missing?
--
View this message in context:
http://www.nabble.com/Can%27t-get-URL-Rewrite-Filter-to-work-tp21919012p21919012.html
Sent from the OFBiz - User mailing list archive at Nabble.com.