Re: Can squid block out certain websites?

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

 




Hi David,

It's pretty easy, check out:

acl naughty url-regex "/usr/local/squid/naughty"
http_access deny naughty

and in that file, put in: (Im sure you want to do this to block people from reading biased news sources.. :P )

www.cnn.com
www.foxnews.com


This method you cann also block specific words from URL's.. doesnt have to be a complete url.. you could just add 'sex' and any URL with sex in it, would be blocked.


Make sure your http_access deny naughty comes before and http_access allow all type of line.


-- netmask

david (davidh@xxxxxxxxxx) composed today:

Hi all,

I hav been reading a lot of docs on squid but I havnt seen anything that
allows me to block out unwanted websites.

Any ideas or info?

Thanxs in advance
david



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux