Re: Simple mod_perl Question

2005-01-07 Thread J b
> * Jeff Bisbee ([EMAIL PROTECTED]) wrote: > > # set actual ip of host doing the requesting instead of the > proxy > > my ($actual_remote_ip) = split /,/, > $r->header_in('X-Forwarded-For'); > > $r->connection->remote_ip($actual_remote_ip) if > $actual_remote_ip; > > > > I just wanted

Re: Simple mod_perl Question

2005-01-07 Thread Perrin Harkins
On Fri, 2005-01-07 at 13:38 -0500, Jeff Bisbee wrote: > * Jeff Bisbee ([EMAIL PROTECTED]) wrote: > > I just wanted to verify that there weren't any hidden gotchas by doing > > the following: > > > > # set actual ip of host doing the requesting instead of the proxy > > my ($actual_remote_ip

Re: Simple mod_perl Question

2005-01-07 Thread Jeff Bisbee
* Jeff Bisbee ([EMAIL PROTECTED]) wrote: > I just wanted to verify that there weren't any hidden gotchas by doing > the following: > > # set actual ip of host doing the requesting instead of the proxy > my ($actual_remote_ip) = split /,/, $r->header_in('X-Forwarded-For'); > $r->connect

Simple mod_perl Question

2005-01-06 Thread Jeff Bisbee
I just wanted to verify that there weren't any hidden gotchas by doing the following: # set actual ip of host doing the requesting instead of the proxy my ($actual_remote_ip) = split /,/, $r->header_in('X-Forwarded-For'); $r->connection->remote_ip($actual_remote_ip) if $actual_remote_i