Доброе время суток
Не поможите решить следующую проблему? Есть прокси сервер на Red Hat 9.0 -Squid Version 2.5.STABLE1. Установлен с rpm, прошу сильно за это не пинать. Проблема следующая. Когда пользователь пытается зайти на страницу, доступ к которой ему запрещен, появляется окно авторизации (ввод логина, пароля на доступ в интеренет) вместо того, чтобы появилась страница Access Denied. Есть старый прокси сервер с Squid/2.3.STABLE4, там в принципе с такими же настройками выдается Access Denied. Подскажите, как добиться того, чтобы выводилась страница Access Denied.
Фрагмент squid.conf следущий.
#
auth_param basic children 32
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/access/passwd
#
#
#
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl password proxy_auth REQUIRED
acl to_localhost dst 127.0.0.0/8
#
acl soft_deny url_regex "/etc/squid/access/soft_deny" - тут ссылки вроде microsoft.com, freesoft.ru
acl soft_allow proxy_auth "/etc/squid/access/soft_allow" - список пользователей, кто может на эти сайты попадать
#
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#
#
#
http_access allow manager localhost
http_access deny manager
#
http_access deny soft_deny !soft_allow
#
http_access allow password
#
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
#
# And finally deny all other access to this proxy
http_access allow localhost
http_access deny all
|