Thanks very much. It works well in Squid V3.5,but has error in Squid V3.3. It displayed "X-Client-Port :41328\r\n" in Squid V3.5,but displayed "X-Client-Port :%>p\r\n" in Squid V3.3. And ,how to get other '%code',like "%>a"or "%>p" Thanks in advance -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/How-to-configure-squid-to-let-ICAP-get-the-port-of-client-tp4680036p4680045.html Sent from the Squid - Users mailing list archive at Nabble.com. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users