Hi,

I tried:

acl logHTML rep_mime_type text/html
logformat combined <standard combined stuff here> access_log
/var/log/squid/access.log combined logHTML

But I get an error message "acl not defined". Any idea what might be wrong?

Thank you,

David




-----Original Message-----
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 28. Februar 2006 15:43
To: David
Cc: [email protected]
Subject: RE: [squid-users] Filtering log data

tis 2006-02-28 klockan 15:21 +0100 skrev David:
> Hi again,
> 
> Would the following be correct for logging only text/html? 
> 
> 
> # MIME acl rules:
> 
> acl myMimeType req_mime_type text/html acl all req_mime_type
> 
> access_log <filepath> <logformat name> allow myMimeType allow all


you need to use rep_mime_type...  (reply mime type, not request mime
type)

acl HTML rep_mime_type text/html
access_log /path/to/file.log format_to_use HTML

Regards
Henrik

Reply via email to