[Radiant] HTTP_X_FORWARDED_HOST breaks Apache proxying
Earl Chew
earl_chew at yahoo.com
Fri Jun 1 23:00:31 CDT 2007
Earl Chew <earl_chew at yahoo.com> wrote:The problem is that when Apache forwards the request using proxypass, it includes the following in the HTML:
----------------------
HTTP_X_FORWARDED_HOST: foo
HTTP_USER_AGENT: Wget/1.10.2 (Red Hat modified)
SCRIPT_NAME: /
SERVER_PROTOCOL: HTTP/1.1
HTTP_HOST: 127.0.0.1:3000
----------------------
There is a patch for Apache to add ProxyAddXHeaders:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200702.mbox/browser
Setting this option Off causes Apache to refrain from inserting the HTTP_X_* headers making the proxying action transparent.
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
More information about the Radiant
mailing list