Squid block site except for some pages

view story

http://unix.stackexchange.com – I have Squid proxy server installed on my machine. I created a file /etc/squid/block.acl, where all the bad domains are written. And added the following statement to squid.conf: acl bad_url url_regex "/etc/squid/block.acl" http_access deny bad_url Suppose, there is a domain: finam.ru. I want to block access to all its pages, except for these pages: finam.ru/analysis/* How to do it? I tried regexp, but it doesn't work. (HowTos)