Search squid archive

Re: block domains based on LDAP group and force re-authentication every 30 minutes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Op 21-feb.-2014, om 14:00 heeft Wim Ramakers <wim.ramakers@xxxxxxxxxxxx> 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’.






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux