[squid-users] acl req/req_header

From: Max Zeman <zeman@dont-contact.us>
Date: Thu, 09 Nov 2006 10:15:15 +0300

Hi
I try to deny access by req_header/rep_header, but it doesn’t work
req_header for Host, X-Forward-For, Via headers always "no match"

...
acl test req_header -i User-Agent FlashGet
...

http_access deny test
http_access ...

2006/11/03 00:00:41| Starting Squid Cache version 2.6.STABLE4-NT for
i686-pc-winnt...
2006/11/03 00:00:41| Running as Squid Windows System Service on Windows
Server 2003
2006/11/03 00:00:41| Service command line is:

2006/11/03 12:09:17| creating entry 03956898: near 'User-Agent:
FlashGet'
2006/11/03 12:09:17| created entry 03956898: 'User-Agent: FlashGet'

2006/11/03 12:09:17| aclCheck: checking ' http_access deny test'
2006/11/03 12:09:17| aclMatchAclList: checking test
2006/11/03 12:09:17| aclMatchAcl: checking ' acl test
req_header -i User-Agent FlashGet'
2006/11/03 12:09:17| aclMatchAclList: no match, returning 0
2006/11/03 12:09:17| cbdataLock: 0093C670
2006/11/03 12:09:17| cbdataUnlock: 0093C5E8
2006/11/03 12:09:17| cbdataValid: 0093C670

2006/11/03 12:09:17| destroying entry 03956898: 'User-Agent: FlashGet'

--
Received on Thu Nov 09 2006 - 00:15:29 MST

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