Op 21-feb.-2014, om 14:00 heeft Wim Ramakers <[email protected]> het 
volgende geschreven:

> There is however still one thing i need to fix, I need to pass the client ip 
> as parameter in the deny_info url. (to update the session db)
> http://www.squid-cache.org/Versions/v3/3.4/cfgman/deny_info.html tells me to 
> use %i, but that returns a 0 instead of client ip
> http://www.squid-cache.org/Versions/v3/3.1/cfgman/deny_info.html mentions no 
> URL FORMAT TAGS
> How does it work in v3.1 to get the client ip?
> 
Found a solution, in php i use $_SERVER['HTTP_X_FORWARDED_FOR’] to get the 
header, with squid set to 'forward_for on’.

Reply via email to