apache - Infinite redirect when using mod_proxy_ajp ? - Stack Overflow
Your ProxyPassReverse configuration is wrong. You want:
ProxyPass / ajp://localhost:8009/testApp ProxyPassReverse / ajp://localhost:8009/testApp The ProxyPass and ProxyPassReverse lines should have identical arguments.
Since you are changing the application path you may run into all sorts of additional issues including but not limited to:
- cookies having the wrong path
- embedded links using the wrong path
- some libraries that place paths in custom HTTP headers using the wrong paths
Generally, life is a lot easier if you rename testApp to ROOT.
Read full article from apache - Infinite redirect when using mod_proxy_ajp ? - Stack Overflow
No comments:
Post a Comment