[squid-users] allowing headers per ip and block headers on others
Matus UHLAR - fantomas
uhlar at fantomas.sk
Sat Jul 13 09:36:28 UTC 2019
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 at fantomas.sk ; 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.
More information about the squid-users
mailing list