Ezzel a dátummal: Thursday 03 April 2008 22.31.18 Mihaly Zachar ezt írta:

> > szerintem A gepre tegyel mondjuk egy apache reverse proxy-t 
> > (mod_proxy)... ez a modul betesz  egy "X-Forwarded-For" headert, ezt
> > olvasgasd mondjuk a php-vel...
> >
> ugynezki a pound-hoz (reverse proxy / load balancer) van egy patch, ahol
> meg a logok is jok lesznek a hatso apache-ban:
>

Feltettem a poundot, szepen dobalja is at a forgalmat, megjelent a 
HTTP-X-FORWARDED fejlec is, ez php-ben mar jo.

Apache2-hoz a modul lefordult, betoltodott:

Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dir_module (shared)
 env_module (shared)
 extract_forwarded_module (shared)        <<-----------Itt van!!
 mime_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 status_module (shared)
Syntax OK
 

De ettol meg mindig az eredeti szerver IP-je naplozodik... 
Mindenesetre az X-FORWARDED fejelec mar sokat jelent, koszonom!

KoviX
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz