Search squid archive

Re: deny_info / url_rewrite_program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux