The weird thing I dont see X-Forwarded-For HTTP-Header anywhere in
Z2.log , i see something like this:
111.222.333.444 - bashar [19/Feb/2012:20:24:19 +0300] "GET /html/admin
HTTP/1.1" 200 5636 "" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
rv:10.0.1) Gecko/20100101 Firefox/10.0.1"
I remember X-Forwarded requests in Nginx sits at the end of the log
entries but not the case in this log, would it be I'm using a very old
pound and didn't have this feature? pound -V shows 2.1.3
The X-Forwarded-For header is not logged by default by most pieces of
software, unless you're defining your own custom log format. Even then,
it probably won't always log what you expect, since this field can be a
list of IPs.
It's probably worthwhile to setup a little test script in Zope and
examine the headers. Either that or via tcpdump / wireshark. Then you
can be certain as far as what Zope is getting.
PS - Upgrading to a more recent release is probably a good idea.
Regards,
--
Dave Steinberg
http://www.geekisp.com/
http://www.steinbergcomputing.com/
http://www.redterror.net/
--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.