We can use the follwing things
acl blockfiles url_regex -i '/etc/squid/blocks' etc
Quote:
Originally Posted by nsampath
I had installed FC6 with squid proxy server.
Example:
acl blockfiles urlpath_regex "/etc/squid/blocks.files"
acl bad url_regex "/etc/squid/bad-files"
acl restricted url_regex "/etc/squid/restricted"
http_access deny single
http_access deny blockfiles
http_access deny restricted
http_access deny bad
# And finally deny all other access to this proxy
http_access allow localhost
http_access deny all
I had given the acl above http_access deny all line.
the above said acl are not blocking the sites given inside the files.
Please some one help me to solve the problem.
|