RE: [squid-users] Blocking some web sites

This is a discussion on RE: [squid-users] Blocking some web sites within the Squid Users forums, part of the Web Server and Related Forums category; Hi try this http_access deny myBlocked http_access allow all -----Original Message----- From: Juergen Edelblut [mailto:j.edelbluth@arcor.de] Sent: ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-28-2004
TSIOLAS KOSTAS
 
Posts: n/a
Default RE: [squid-users] Blocking some web sites

Hi try this

http_access deny myBlocked
http_access allow all



-----Original Message-----
From: Juergen Edelblut [mailto:j.edelbluth@arcor.de]
Sent: Wednesday, January 28, 2004 2:32 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Blocking some web sites

Hi ML,

Just trying to block some websites with the squid proxy, version 2.5
stable 3 on SuSE Linux 9.0.

I added the following lines to my squid.conf:

acl myBlocked url_regex -i "/etc/squid/blocked_sites.conf"
http_access allow all
http_access deny myBlocked

The file blocked_sites.conf contains for example:

/yahoo/

But it doesn't work, I have unrestricted access to Yahoo.

The Idea behind was to block all accesses to URLs containing "sex", I
just tried with yahoo, the logs would look quite funny, when my
collegues see, that I surf the whole day on sex sites...

Thanks for help!

Juergen

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:21 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0