Re: PrettyFaces 3.3.3 toCase rewrite problem

Splash Forums PrettyFaces Users PrettyFaces 3.3.3 toCase rewrite problem Re: PrettyFaces 3.3.3 toCase rewrite problem

#22294

Sorry, I cannot reproduce it. I added the same rewrite rule to one of my test applications and it’s working fine:

$ curl -v "http://localhost:8080/prettyfaces-demo/WELCOME"
* About to connect() to localhost port 8080 (#0)
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /prettyfaces-demo/WELCOME HTTP/1.1
> User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3
> Host: localhost:8080
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: Apache-Coyote/1.1
< Location: /prettyfaces-demo/welcome
< Transfer-Encoding: chunked
< Date: Fri, 16 Mar 2012 16:14:58 GMT
<
* Connection #0 to host localhost left intact
* Closing connection #0

Do you have any other rewrite rules in your config?

Could you create a minimal Maven project to reproduce this?