Полезная информация

Будьте в курсе последних изменений в мире Mozilla, следя за нашим микроблогом в Twitter.

№128-01-2015 07:11:24

tuxzer92
Участник
 
Группа: Members
Зарегистрирован: 28-01-2015
Сообщений: 1
UA: Firefox 35.0

Squid не отображает ERR_ACCESS_DENIED

Есть Debian 7. На нем Squid. Все настроил, но при попытке зайти на сайт, который я занес в список запрещенных, выводится, что прокси сервер отказывается принимать соединения. Но ведь он должен выдать страницу ERR_ACCESS_DENIED! В чем проблема?
При чем на IE все работает, а на Firefox нет.
Привожу конфиг сквида

Выделить код

Код:

acl all src all
acl manager proto cache_object
acl webserver src 192.168.0.211
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8    
acl localnet src 172.16.0.0/12    
acl localnet src 192.168.0.0/24    
acl localnet src 192.168.1.0/24
acl SSL_ports port 443        
acl SSL_ports port 563        
acl SSL_ports port 873        
acl Safe_ports port 80        
acl Safe_ports port 21        
acl Safe_ports port 443        
acl Safe_ports port 70        
acl Safe_ports port 210        
acl Safe_ports port 1025-65535    
acl Safe_ports port 280        
acl Safe_ports port 488        
acl Safe_ports port 591        
acl Safe_ports port 777        
acl Safe_ports port 631        
acl Safe_ports port 873        
acl Safe_ports port 901        
acl purge method PURGE
acl CONNECT method CONNECT
acl ru url_regex "/etc/squid/ru.acl"
acl com url_regex "/etc/squid/com.acl"
acl org url_regex "/etc/squid/org.acl"
acl net url_regex "/etc/squid/net.acl"
http_access deny ru 
http_access deny com 
http_access deny org
http_access deny net
align="center"
http_access allow manager localhost
http_access allow manager webserver
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
icp_access allow localnet
icp_access deny all
http_port 3128 transparent
cache_peer 192.168.0.204 parent 8080 0 no-query no-digest round-robin weight=4
hierarchy_stoplist cgi-bin ?
cache_mem 8 MB
 cache_dir ufs /var/spool/squid 4096 32 256
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern -i (/cgi-bin/|\?) 0    0%    0
refresh_pattern (Release|Packages(.gz)*)$    0    20%    2880
refresh_pattern .        0    20%    4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
error_directory /usr/share/squid/errors/ru
 prefer_direct on
never_direct allow all
hosts_file /etc/hosts
memory_pools off
memory_pools_limit 50 MB
coredump_dir /var/spool/squid

Спасибо!

Отсутствует

 

Board footer

Powered by PunBB
Modified by Mozilla Russia
Copyright © 2004–2020 Mozilla Russia GitHub mark
Язык отображения форума: [Русский] [English]