> I only set the remoteip if the real ip address is 127.0.0.1.
Ah, but of course. All is well then.
--
Eric
On Thu, 13 Apr 2000, Eric Cholet wrote:
[...]
> Glad to help! BTW if you're doing IP-based access control like this, on
> a backend server behind a reverse proxy, you might want to change the
> header used by mod_proxy_add_forward to something less ubiquitous than
> X-Forwarded-For, for security
> > Log:
> > $c->remote_ip($ip) now also sets conn->remote_addr to make
> > IP-based access control work correctly
>
> ahfdkjah! Thanks.
>
> That have driven me nuts. It never occured to me that it was a bug and not
> me being clueless though. :) You're my hero of the day.
Glad to help! B
On 11 Apr 2000 [EMAIL PROTECTED] wrote:
> Log:
> $c->remote_ip($ip) now also sets conn->remote_addr to make
> IP-based access control work correctly
ahfdkjah! Thanks.
That have driven me nuts. It never occured to me that it was a bug and not
me being clueless though. :) You're my hero of