[squid-users] deny_info / url_rewrite_program
Amos Jeffries
squid3 at treenet.co.nz
Tue Dec 1 04:11:30 UTC 2015
On 1/12/2015 10:10 a.m., Jens Kallup wrote:
> Hi,
>
> next, the output, followed by the config snippet, the perl script is fixed,
> but don't work - squid shows only Error - Access Denied ...
>
<snip>
> # squid config:
> auth_param basic program /usr/local/squid/libexec/basic_ncsa_auth
> /sap/squid/passwd
> auth_param basic utf8 on
> auth_param basic children 5 startup=1 idle=1 concurrency=0
> auth_param basic realm Bitte geben Sie Ihren Benutzernamen und Ihr
> Passwort zur Internet-Authentifizierung ein!
> auth_param basic credentialsttl 60 minutes
> auth_param basic casesensitive on
>
> external_acl_type blocker concurrency=100 ttl=60 negative_ttl=0
> children-max=1 %LOGIN %DST /sap/squid/block.sh
> acl mysql_blocker external blocker
>
> url_rewrite_program /sap/squid/rewrite.pl # inserted \__ these 2 lines
> have no effect, always, the same behavour
> url_rewrite_access deny mysql_blocker # inserted /
>
In url_rewrite_access "deny" means "dont use the re-writer".
> #deny_info http://www.freenet.de blocker
>
The above deny_info is the line changing the "Access denied" action to a
"redirect to http://..." action, done when a "http_access deny blocker"
line is matched.
Amos
More information about the squid-users
mailing list