Re: [squid-users] Blocking a Domain when requested from one IP

From: Simon White <simon@dont-contact.us>
Date: Fri, 29 Mar 2002 08:54:18 +0000

28-Mar-02 at 13:39, Quintin Giesbrecht (quinting@hsd15.ca) wrote :
> Hi there, we have a squid server running in a school division, and we
> have one school (1 ip address) that doesn't want their students hitting
> one web site...can I block (using acl's) this one ip from hitting one
> domain?

acl theschool src school.ip.add.ress
acl thewebsite dstdomain .domain.ca

http_access allow theschool !thewebsite

Should work. For good acl examples, search the list archives, there are
lots there...

Simon.

--
[Simon White. vim/mutt. simon@mtds.com. GIMPS:59.76% see www.mersenne.org]
           /"\    ASCII Ribbon Campaign
           \ /    Respect for open standards
            X     No HTML/RTF in email
           / \    No M$ Word docs in email
Received on Fri Mar 29 2002 - 01:54:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:11 MST