L
L
lless2011-11-25 10:49:10
Squid
lless, 2011-11-25 10:49:10

Squid 3.1, http_access and block_info?

There is authorization of a group of users in Kerberos:
external_acl_type block_users %LOGIN ...
there is a group that has passed authorization:

acl BlockAccess external block_users block_internet

there is a ban on access to the Internet for this group:
http_access deny BlockAccess all
In this scheme, everything works correctly, but I want to fasten the notification:
deny_info ERR_BLOCK_ACCESS BlockAccess
I can’t understand why it doesn’t work, I placed the right page where it should be.
I rummaged through a couple of instructions, but nowhere did I find an opportunity to display a separate blocking page for certain user groups.
There is an option to do:
acl all_block url_regex ^.+?$<br/>
deny_info ERR_BLOCK_ACCESS all_block<br/>
http_access deny BlockAccess all_block

but I don't think it's correct.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question