We don't bite newbies here... much | |
PerlMonks |
Re: setting remote_addr in header so my server IP isn't the addressby mortis (Pilgrim) |
on Dec 15, 2001 at 02:30 UTC ( [id://132100]=note: print w/replies, xml ) | Need Help?? |
If you're referring to what the remote web server sees as
your REMOTE_ADDR, then I'm pretty sure you can't do what you
want. AFAIK REMOTE_ADDR is set up on the server to be
the IP address of the remote connection - as determined
by the tcp/ip stack - not by any data sent by the remote
system.
If the remote system (from the web server's point of view) could set REMOTE_HOST, they'd be able to spoof who they were. If that's what you're trying to do, stop it. :^)
In Section
Seekers of Perl Wisdom
|
|