apache - AJP proxy that maps internal servlet name to a different external name - Stack Overflow
( A late answer, but I just ran into this problem myself. )
It appears that ProxyPassReverse using ajp: doesn't work because the headers returned from a redirect don't have an ajp: URL in Location:, they have a http: URL. ProxyPassReverse just causes a rewrite of matching headers, and that string doesn't match what's being returned.
This should work (provided the Location: field uses that numerical address and not a host name.)
ProxyPreserveHost on ProxyPass /external_name ajp://192.168.1.30:8009/servlet_name ProxyPassReverse /external_name http://192.168.1.30/servlet_nameRead full article from apache - AJP proxy that maps internal servlet name to a different external name - Stack Overflow
No comments:
Post a Comment