thanks Tesla, it now works.

-----Original Message-----
From: Tesla 13 [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2003 09:55
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [squid-users] Allowing only specific internet sites


This should do:

acl user1ip src 192.168.0.10
acl user1destination dstdomain www.mysite.com

http_access allow user1ip user1destination
http_access deny all

If there are a lot of domains, you can put them in a file one at a line. 
Then use something like this:

acl user1destination dstdomain "/path/to/user1destination"

Tesla






>From: "Narozny" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: [squid-users] Allowing only specific internet sites
>Date: Wed, 29 Jan 2003 20:24:11 +0200
>
>Hi everyone
>
>I would like to setup a acl to block access to all internet sites
>for a specific user, and only allow access to specific sites.
>
>I would like to block one user (ip):   192.168.0.10
>This user must only be allowed to acces two internet sites:
>http://196.25.1.1  and http://www.mysite.com
>
>is this possible..and how would one do it?
>
>Appreciate any feedback.
>
>Thanks
>Narozny


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

Reply via email to