perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Cholet <cho...@logilune.com>
Subject RE: cvs commit: modperl/src/modules/perl Connection.xs
Date Thu, 13 Apr 2000 07:26:59 GMT
> >   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! 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 reasons.

--
Eric


Mime
View raw message