Re: [squid-users] HEAD requests on a reverse proxy

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Thu, 10 Jun 2004 16:09:52 +0200

Nick wrote:

>Thanks Emilio. How would I make that acl_type request so it rejects all other HEAD requests besides from my load balancer?
>Would it just be
>acl my_cisco dst 192.168.1.1
>acl my_cisco method HEAD
>
>http_access deny HEAD
>http_access allow my_cisco
>
>Thanks,
>Nick
>
>

The order in the http_access is the most important.
And two acl can't to have the same name.
Try this:

acl my_cisco src 192.168.1.1/32
acl HEAD method HEAD
http_access deny HEAD !my_cisco

Here is the info for access controls:
http://www.squid-cache.org/Doc/FAQ/FAQ-10.html

Emilio C.
Received on Thu Jun 10 2004 - 08:09:58 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT