Re: [squid-users] how to block sites

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 9 Sep 2004 16:39:10 +0530

> I want my one specific user to be able to access only 2 sites. Please
> tell me wht should I do and how.

Get the specific user acl as,

# Acl settings
acl user src IP/netmask

acl sites url_regex ^http://www.yahoo.com ^http://www.hotmail.com (or)

acl sites dstdomain .yahoo.com .hotmail.com

# http_access rule
http_access deny user !sites

-Muthu

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.754 / Virus Database: 504 - Release Date: 9/6/2004 
Received on Thu Sep 09 2004 - 05:28:01 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT