Re: Question about client ip

From: Michael Kagerbauer (m.kagerbauer@kagerbauer.net)
Date: Sun Feb 01 2004 - 02:45:12 CET


> Do this:
>
> mv pen.c pen.c.old
> sed -e 's,X-Forwarded-For,X-Ulric-Fibbar,g' < pen.c.old > pen.c
> make install
>
> And restart pen.
>
> Now you can look for the X-Ulric-Fibbar header instead. In php it will
> become the environment variable HTTP_X_ULRIC_FIBBAR.
>

Great, this works. Ok, last question: what happens with the original
HTTP_X_FORWARDED_FOR variable if I patch the pen.c file in this way? Will
pen forward it to the www-servers or not?

Michael



This archive was generated by hypermail 2.1.2 : Sun Feb 01 2004 - 03:05:01 CET