/ Zope / Apsis / Pound Mailing List / Archive / 2004 / 2004-10 / help on: X-Forwarded-for

[ << ] [ >> ]

[ error on upgrade / Brook Stevens ... ] [ Help on: WebDAV support / Francisco Alves Cabrita ... ]

help on: X-Forwarded-for
Francisco Alves Cabrita <francisco(at)nortenet.pt>
2004-10-08 22:30:17 [ FULL ]
Hello all

I'm running pound 1.7  in 2 FreeBSD 5.2.1-RELEASE-p11 servers mostly for load 
balancing and virtualhosting i think i have this running pretty good but i 
need to pass clients-IP-address to the various Apache/IIS logs. I have read 
in pounds web site about this:

X-Forward-for: client-IP-address

but i dont know how to "call" this function in pound.cfg,, the message writed 
to log is:

pound: unknown directive "X-Forwarded-for: client-IP-address" - aborted

cam someone give me a tip !?

thanks in advance
Francisco

Re: help on: X-Forwarded-for
Francisco Alves Cabrita <francisco(at)nortenet.pt>
2004-10-08 23:22:47 [ FULL ]
> Pound automagically adds an X-Forwarded-for header to the request
that[...]


Thanks allot,, it works very nice,, i used CustomLog to call "combined 
LogFormat" and every virtualdomain is registering both pounds ip address and 
"remote/client" one and user-agent.

Thanks again
[ ]
Francisco

MailBoxer