Search squid archive

Re: How to deny a specific URL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does Squid need restarted everytime you add to blocked sites?

Matt

I put all each url on a separate line in a text file and use the following:


    # Block websites using url or keywords.
    # Uses "\.file$" format to block file extensions
    #-------------------------------------------------
    acl blocked_content url_regex -i "/etc/squid/blocked_sites.txt"
    http_access deny blocked_content download        all
    http_access deny blocked_content                 all
    http_reply_access deny blocked_content           all


Hope that this helps
D.Radel.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux