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 Wed, 14 Dec 2011 19:31:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49839

--- Comment #6 from Andrew Skalski <voltara@gmail.com> 2011-12-14 19:31:01 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > Are there any plans to apply this bug fix?  I have been using the attached
> > patch for almost a full year without any problems.
> 
> I Andrew,
> I applied this patch but it doesn't resolve the issue (with my patched version
> which also include backport to 2.2 and patch for bug 49272) :
> 
> when a 404 is sent, the RemoteIPHeader is logged in the errorlog but the Proxy
> IP is logged in the access log. do you confirm ?

That is how the unpatched mod_remoteip behaves.  The attached patch to
remoteip_modify_connection() should have corrected the problem.  I tested by
backporting the 2.3.15-beta mod_remoteip.c to compile against 2.2.20-prefork on
an Ubuntu machine, and the patch on this ticket worked as expected.

The only change I had to make to compile the 2.3.15-beta module against 2.2.20
was one line:

<AP_DECLARE_MODULE(remoteip) = {
>module AP_MODULE_DECLARE_DATA remoteip_module = {

The fixes for bugs 49272 and 49838 are already included in 2.3.15-beta.

-- 
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