Dear Squid users
I can't get deny_info working as expected.
I did:
acl sex url_regex "/usr/local/squid/etc/sex"
http_deny sex all
deny_info SEX_ERR_ACCESS_DENIED sex
It is denying access to those pages in "sex" file, but the error page
delivered
to users is the one in ERR_ACCESS_DENIED instead.
I commented out "http_deny sex all" and the "sex" pages arrived normaly. So I
assumed that "denying" acl is the one that is triggering the ERR_ situation.
Take a look at the debug acl output:
1999/02/26 14:53:08| aclMatchAcl: checking 'acl sex url_regex "/usr/local/squid/etc/sex"'
1999/02/26 14:53:08| aclMatchRegex: checking 'http://www.playboy.com.br/'
1999/02/26 14:53:08| aclMatchRegex: looking for '.*.(praline|eroticworld|orion).de'
1999/02/26 14:53:08| aclMatchRegex: looking for '.*.(theorgy|penthousemag|playboy|1stsex|lolita|sexpix|sexshop).*'
1999/02/26 14:53:08| aclMatchAclList: checking all
1999/02/26 14:53:08| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0'
1999/02/26 14:53:08| aclMatchIp: '200.231.48.38' found
1999/02/26 14:53:08| aclMatchAclList: returning 1
1999/02/26 14:53:08| aclCheck: match found, returning 0
1999/02/26 14:53:08| aclCheckCallback: answer=0
What am I missing?
Using Squid 2.2.PRE2.
Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
(012) 341-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
Sao Jose dos Campos / \
Received on Fri Feb 26 1999 - 10:42:23 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:45 MST