Following the KB https://confluence.atlassian.com/bamkb/404-page-as-a-result-of-double-encoded-slashes-in-the-url-when-using-apache-302810789.html. I have the following configuration, which is still not working. What am i missing?
ServerName example.com
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RemoteIPHeader X-Forwarded-For
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule . https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyRequests Off
RewriteRule /(.*) ajp://<IP>/$1 [NE,P,L]
ProxyPassReverse / ajp://<IP>:8009/
Still getting
https://example.com/login.action?os_destination=%252Findex.action&permissionViolation=true
instead of https://bar.rvbdtechlabs.net/login.action?os_destination=%2Findex.action&permissionViolation=true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.