Plus “+” in URL can cause redirection loop


The fix is to add nocanon to the proxy config.
For example:

ProxyPass / balancer://frontendcluster/ stickysession=ROUTEID nocanon
ProxyPassReverse / nocanon
ProxyPassReverse / nocanon

Normally, mod_proxy will canonicalise ProxyPassed URLs. But this may be incompatible with some backends, particularly those that make use of PATH_INFO. The optional nocanon keyword suppresses this, and passes the URL path “raw” to the backend. Note that may affect the security of your backend, as it removes the normal limited protection against URL-based attacks provided by the proxy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Comments Protected by WP-SpamShield Spam Blocker