Re: Squid + IP +CGI

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 06 Oct 1998 00:13:35 +0200

Gustavo Aguiar wrote:

> Yes, thank you. It did help but I was wandering if someone have
> an exemple in perl on how can I read the header X-Forwared-For.
> How do I have to put this in my CGI script??

$ENV{"HTTP_X_FORWARDED_FOR"}

instead of

$ENV{"REMODE_ADDR"} or $ENV{"REMOTE_ADDR"}

---
Henrik Nordström
Sparetime Squid Hacker
Received on Mon Oct 05 1998 - 18:32:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:20 MST