Search squid archive

Re: allowing headers per ip and block headers on others

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

 



On 13.07.19 12:20, --Ahmad-- wrote:
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

when accessing 1.2.3.4 or whn your client is 1.2.3.4?

##############################
header_access Pragma allow allowip all
header_access Keep-Alive allow allowip all

the "all" is superflous above.

header_access Pragma deny all
header_access Keep-Alive deny all
#######################

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I'm not interested in your website anymore.
If you need cookies, bake them yourself.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux