[squid-users] how to block special user-agent

From: Zhen Zhou <linuxnb@dont-contact.us>
Date: Wed, 22 Nov 2006 11:08:08 +0800

Hi, all,

I tried several ways to block some special user-agent in squid, but it
didn't work as our request:
1. using acl xxx browser -i "Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)"
then system complain:
2006/11/22 09:16:36| strtokFile: Mozilla/4.0 not found
2006/11/22 09:16:36| aclParseAclLine: WARNING: empty ACL: acl xxx
browser "Mozilla/4.0 (compatible; MSIE 5.00; Windows 98)"

2. using header_access to filter, it still didn't get the result.

any tips will be a great helpful, TIA

Zhou
Received on Tue Nov 21 2006 - 20:08:10 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST