[squid-users] allowing headers per ip and block headers on others

--Ahmad-- ahmed.zaeem at netstream.ps
Sat Jul 13 09:20:53 UTC 2019


hello folks .

say i have a set of rules to block some certain types of headers  as below :

header_access Pragma deny all
header_access Keep-Alive deny all


but i want those above two headers allowed when accessing ip 1.2.3.4

is my config below is correct ? i tested but didn’t work 

acl allowip src 1.2.3.4
##############################
header_access Pragma allow allowip all
header_access Keep-Alive allow allowip all
header_access Pragma deny all
header_access Keep-Alive deny all
#######################


any idea ?


Thanks 


More information about the squid-users mailing list