Re: [squid-users] ACL Woes

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Wed, 15 Dec 2010 16:22:10 +0100

* Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>:
> * Aaron Drever <addrever_at_gmail.com>:
> > Hello,
> >
> > I'm currently looking to implement a rule that allows people behind
> > the proxy to access a specific URL. In my case the URL is
> > https://mail.google.com/a/domain.tld.
> >
> > We are using GApps, but I don't want them to be able to use
> > mail.google.com to access typical gmail.
> >
> > I used:
> >
> > acl Google url_regex -i ^https://mail.google.com/a/domain.tld$
> > http_access allow Google
>
> Where's the deny rule?

So I'd guess you need:

acl gmail url_regex -i ^https://mail.google.com/"
acl custom_google url_regex -i ^https://mail.google.com/a/domain.tld$
http_access allow custom_google
http_access deny gmail

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandt@charite.de | http://www.charite.de
	    
Received on Wed Dec 15 2010 - 15:22:19 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 15 2010 - 12:00:03 MST