Re: non ASCI symbols in @URLMapping

Splash Forums PrettyFaces Users non ASCI symbols in @URLMapping Re: non ASCI symbols in @URLMapping

#20797

0swald
Participant

Found. I have an apache frontend with mod_jk module forwarding requests to Tomcat. By default mod_jk uses option JkOptions +ForwardURIProxy

Using JkOptions ForwardURIProxy, the forwarded URI will be partially reencoded after processing inside Apache httpd and before forwarding to Tomcat.

Changing it to JkOptions +ForwardURICompatUnparsed solved the issue:

Using JkOptions ForwardURICompatUnparsed, the forwarded URI will be unparsed. It’s spec compliant and secure. It will always forward the original request URI, so rewriting URIs with mod_rewrite and then forwarding the rewritten URI will not work.

Christian, thanks again! Hope this thread will be useful for those using apache frontend.