httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49839] mod_remoteip: ErrorDocument causes proxy's IP to be logged
Date Sun, 29 Aug 2010 00:10:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49839

--- Comment #3 from Andrew Skalski <voltara@gmail.com> 2010-08-28 20:10:08 EDT ---
Created an attachment (id=25957)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25957)
proposed bugfix

The attached patch changes remoteip_modify_connection() to run only once per
request.

The issue I encountered with ErrorRedirect was caused by the handler running
again on every internal redirect/subrequest.  Because it removes the proxy IP
from the X-Forwarded-For (X-Client-IP) header, each iteration of
remoteip_modify_connection would take a different IP from the comma-separated
list, until the list was exhausted.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message