Re: [squid-users] How to create an ACL matching patterns from an URL

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 15 Jul 2011 00:37:10 +1200

On 15/07/11 00:17, Supratik Goswami wrote:
> Is there a way to create an acl in such a way that I can only block few pages
> from that domain ?
>
> Example: If there is a domain named example.com, I will allow all
> pages except when
> it matches the following in the URL.
>
> example.com/home.php
> example.com/home.php#!/profile.php
>
>
> Regards
>
> Supratik

Introducing the access control lists (ACL) documentation:
  http://wiki.squid-cache.org/SquidFaq/SquidAcl
  http://www.squid-cache.org/Doc/config/acl/
  http://www.squid-cache.org/Doc/config/http_access/

NOTE: the #... part is called a page fragment and is completely internal
to the web browser. The second one is never seen by Squid.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.9
Received on Thu Jul 14 2011 - 12:37:27 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 14 2011 - 12:00:02 MDT