.
[ Voor 99% gewijzigd door sontax op 23-10-2022 10:16 ]
[ Voor 99% gewijzigd door sontax op 23-10-2022 10:16 ]
[ Voor 99% gewijzigd door sontax op 23-10-2022 10:16 ]
Ga je diep schamen als deze methode gewoon werktHow to deny a user from accessing particular site?
To block site called foo.com you need to add following two lines to your squid configuration file.
# vi /etc/squid/squid.conf
Search for `Access Controls' and append following two lines:
acl blocksites dstdomain .foo.com
http_access deny blocksites
Save and close the file. Restart Squid:
# /etc/init.d/squid restart
Let us say you would like to deny access for anyone who browses to a URL with the word "bar" in it. Append following ACL:
acl blockregexurl url_regex -i bar
http_access deny blockregexurl
Save and close the file.
ik reeds lange tijd een config draaien met squid + squidGuardsontax schreef op maandag 05 mei 2008 @ 19:25:
Ik heb nog een aantal andere geprobeert en het lukt echt niet.
Aangezien ik er niet heel veel verstand van heb denk ik dat er iets verkeerd is met mijn config.
Iemand die een simpele en zo kaal mogelijke config heeft zodat ik zelf langzaam alles kan toevoegen wat ik wil ?
"I think there is a world market for maybe five computers" - Thomas Watson, chairman of IBM, 1943
[ Voor 111% gewijzigd door sontax op 23-10-2022 10:16 ]
Apple iPhone 17 LG OLED evo G5 Google Pixel 10 Samsung Galaxy S25 Star Wars: Outlaws Nintendo Switch 2 Apple AirPods Pro (2e generatie) Sony PlayStation 5 Pro
Tweakers is onderdeel van
DPG Media B.V.
Alle rechten voorbehouden - Auteursrecht © 1998 - 2026
•
Hosting door TrueFullstaq