[Tickets #1230] NEW: header.txt - Unable to substiture
HTTP_X_FORWARDED_FOR
bugs at bugs.horde.org
bugs at bugs.horde.org
Sun Jan 23 17:34:33 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1230
-----------------------------------------------------------------------
Ticket | 1230
Created By | imp at mavetju.org
Summary | header.txt - Unable to substiture HTTP_X_FORWARDED_FOR
Queue | IMP
Version | 4.0.1
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
imp at mavetju.org (2005-01-23 17:34) wrote:
In the ever lasting quest of helping users, I have added the following four
headers to imp/config/header.txt:
X-Originating-IP: %REMOTE_ADDR%
X-Originating-Hostname: %REMOTE_HOST%
X-Proxied-for-IP: %HTTP_X_FORWARDED_FOR%
X-Proxied-via: %HTTP_VIA%
The first two are replaced properly, the second two aren't:
X-Originating-IP: 202.83.176.9
X-Originating-Hostname: proxy.barnet.com.au
X-Proxied-for-IP:
X-Proxied-via:
The four variables are listed in the PHP phpinfo() output under Apache
Environment.
I tried to figure out how the replacement of variables works, but I wasn't
able to make sense of it. That's more a problem from my side than from your
side :-)
More information about the bugs
mailing list