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
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
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
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
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