[squid-users] Re: deny and allow internet explorer

From: Adam Aube <[email protected]>
Date: Thu, 09 Dec 2004 10:56:50 -0500

Kiraly Zoltan wrote:

> I have this rules in squid.conf :
>
> acl ie_browser browser ^Mozilla/4\.0 .compatible; MSIE
> acl blacklist url_regex "/etc/squid/squid.deny"
> acl wplink src 192.168.10.0/24
>
> http_access deny ie_browser
> http_access deny blacklist
> http_access allow wplink
>
> I have 5 IP address in Intranet ( 192.168.10.1 , 192.168.10.2, ....10.5
> ) and all IP use squid proxy.
>
> My goal is to deny internet explorer from all IP address. This is not a
> problem.
> But i want to allow Internet Explorer for 192.168.10.4 and 192.168.10.5
> because this users don't know to use another browser than Internet
> Explorer (an example).

Read the Access Controls FAQ - it explains the logic of http_access.

http://www.squid-cache.org/Doc/FAQ/FAQ-10.html

Adam
Received on Thu Dec 09 2004 - 08:56:56 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST