https://issues.apache.org/bugzilla/show_bug.cgi?id=49839

--- Comment #6 from Andrew Skalski <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to