Re: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-12 Thread Dieter Maurer
Marcin Kasperski writes: I use Zope via Apache proxy, what causes some trouble (all remote IPs for Zope are equal to 127.0.0.1). As I finally installed mod_proxy_add_forward, I get original address in X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). The question is: can I

Re: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-12 Thread Marcin Kasperski
As I finally installed mod_proxy_add_forward, I get original address in X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). The question is: can I do something easy to automatically perform if(remote_ip = 127.0.0.1 and X-Forwarded-For exists) then set

Re: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-12 Thread Evan Simpson
From: Marcin Kasperski [EMAIL PROTECTED] X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). Does there exist some sample of such usage? Can such a change be performed before authorization? You could do this with an Access Rule in your root folder, containing: dtml-call

Re: [Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-12 Thread Dieter Maurer
Marcin Kasperski writes: As I finally installed mod_proxy_add_forward, I get original address in X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). The question is: can I do something easy to automatically perform if(remote_ip = 127.0.0.1 and X-Forwarded-For

[Zope] Easiest way to turn X-Forwarded-For to Remote-IP?

2000-10-11 Thread Marcin Kasperski
I use Zope via Apache proxy, what causes some trouble (all remote IPs for Zope are equal to 127.0.0.1). As I finally installed mod_proxy_add_forward, I get original address in X-Forwarded-For header (REQUEST['HTTP_X_FORWARDED_FOR']). The question is: can I do something easy to automatically