[squid-users] acl issue

From: Rick Coloccia <coloccia_at_geneseo.edu>
Date: Wed, 03 Mar 2010 09:54:50 -0500

Hi Folks,

I want squid to log everything _but_ access to a certain site. I can't
seem to work out the right syntax.

I think what I want to do is this, but squid barks at me:
Bungled squid.conf line 708: cache_access_log /var/log/squid/access.log
squid !dontlog

I've added these things to squid.conf:
acl dontlog url_regex -i
^http://dont.log.this.com/components/com_livechat/sync.php
cache_access_log /var/log/squid/access.log squid !dontlog
cache_access_log none dontlog

Squid has no complaints about the acl. But it won't seem to take two
cache_access_log directives, and it won't take a !dontlog on the first
directive, and I don't see how to create an acl that says "everything
but the one url I don't want" since the "everything but" part seems to
come from a ! after the fact.

Does anyone have any ideas as to how I should set up my config to log
all but hits to that one url?

Thanks in advance!

Linux toh 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64
x86_64 x86_64 GNU/Linux
CentOS release 5.4 (Final)
squid-2.6.STABLE21-3.el5

-Rick

-- 
Rick Coloccia, Jr.
Network Manager
State University of NY College at Geneseo
1 College Circle, 119 South Hall
Geneseo, NY 14454
V: 585-245-5577
F: 585-245-5579
CIT will never ask for your password or other confidential information via email. 
Received on Wed Mar 03 2010 - 14:54:59 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 04 2010 - 12:00:06 MST