[squid-users] req vs rep

From: Brent Clark <bclark@dont-contact.us>
Date: Thu, 11 Nov 2004 15:27:32 +0200

Hi all

I have the following lines in my squid.conf file
=========================================================================
acl useragent browser -i ^.*NSPlayer.*
acl useragent browser -i ^.*player.*
acl useragent browser -i ^.*Windows-Media-Player.*
http_access deny useragent

acl media rep_mime_type ^.*video.*
acl media rep_mime_type ^.*audio.*
http_access deny media
=========================================================================

and I keep getting this:
=========================================================================
gate:~# squid -k parse /etc/squid.conf
2004/11/08 08:48:15| squid.conf line 43: acl media rep_mime_type ^.*video.*
2004/11/08 08:48:15| aclParseAclLine: Invalid ACL type 'rep_mime_type'
2004/11/08 08:48:15| squid.conf line 44: acl media rep_mime_type ^.*audio.*
2004/11/08 08:48:15| aclParseAclLine: Invalid ACL type 'rep_mime_type'
2004/11/08 08:48:15| squid.conf line 45: http_access deny media
2004/11/08 08:48:15| aclParseAccessLine: ACL name 'media' not found.
2004/11/08 08:48:15| squid.conf line 45: http_access deny media
2004/11/08 08:48:15| aclParseAccessLine: Access line contains no ACL's,
skipping

===========================================================================
gate:~# squid -v
Squid Cache: Version 2.4.STABLE6
gate:~#

would anyone know why
I know req_mime_type works.

But whats the diffs?

Kind Regards and thanks in advance.
Brent Clark
Received on Thu Nov 11 2004 - 06:28:22 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST