maihyvu2
asked on
Modify Location field in the HTML header using Squid 2.7 reverse-proxy
The “Location:” field in the HTTP header contains an absolute URL that the reverse-proxy failed to resolve. How do I modify the HTTP header in Squid proxy (configured as reverse proxy).
HTTP/1.1 302 Found
Date: Thu, 29 Apr 2010 19:19:43 GMT
Server: Apache/2.2.14 (Unix) PHP/5.3.1 mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_scgi_pubsub/1.11-pubsu b SVN/1.6.5
Location: http://10.39.151.161/buglist.cgi?priority=P2%20%28ASAP%29&query_format=advanced&order=Importance&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
HTTP/1.1 302 Found
Date: Thu, 29 Apr 2010 19:19:43 GMT
Server: Apache/2.2.14 (Unix) PHP/5.3.1 mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 mod_scgi_pubsub/1.11-pubsu
Location: http://10.39.151.161/buglist.cgi?priority=P2%20%28ASAP%29&query_format=advanced&order=Importance&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you,