You can also use url_regex -i
acl bad_sites url_regex -i "/etc/squid/bad_sites.txt"
http_access deny bad_sites
Cheers!.
Lucas Brasilino wrote:
>> Hi,
>
> Hi
>
>> How do i block HTTPS sites?
>>
>> I am using this I squid.conf:
>
> acl CONNECT method CONNECT
> acl bad_sites dstdomain "/etc/squid/bad_sites.txt"
> http_access deny bad_sites
> http_access deny bad_sites CONNECT
>
>
> This should work....
>
> regards
> Lucas Brasilino
>
>>
>> # cat bad_sites.txt
>> .youporn.com
>> .rapidshare.com
>> .googlevideo.com
>> .photobucket.com
>> .dailymotion.com
>> .logmein.com
>> .megavideo.com
>> .audio.uol.com.br
>> .imo.im
>> #
>>
>> But I am able to connect https://imo.im
>> I only got access denied when I access http://imo.im
>>
>> How do I block it?
>>
>> thanks
>>
>
>
-- Alejandro Bednarik XTech - Soluciones Linux para Empresas (011) 5219-0678 alejandro_at_xtech.com.arReceived on Tue Oct 21 2008 - 19:22:51 MDT
This archive was generated by hypermail 2.2.0 : Wed Oct 22 2008 - 12:00:05 MDT