dijous, 14 de gener del 2016

Allow URI encoded slashes in tomcat with apache and mod_jk

To allow uri encoded slashes in tomcat running with apache and mod_jk you have to:

Allow encoded slashes in TOMCAT:
CATALINA_OPTS=-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

Allow encoded slashes in MOD_JK (conf):
JkOptions +ForwardURIEscaped +ForwardURICompatUnparsed

Allow encoded slashes in HTTPD (conf):
AllowEncodedSlashes On