RE: [squid-users] Filtering log data

From: Henrik Nordstrom <[email protected]>
Date: Tue, 28 Feb 2006 15:43:02 +0100

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

Received on Tue Feb 28 2006 - 07:43:17 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST