6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/18/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1230] header.txt - Unable to substitute HTTP_X_FORWARDED_FOR
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__..__ .__ .___. [__)[__][__)[__) _/ | | |[__)| \./__.
Comment
> 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 :-) > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers