[squid-users] Failure URL
Filip Maroul
filip.corsair at gmail.com
Fri Jul 15 05:19:59 UTC 2016
Hello,
I am running squid3 in version 3.4 on Debian 8 x64. I am using block list
for some domain's it works but if I try to put failure url it not work.
Here is my conf file:
-----------------------------------------------------------------------------------
http_port 3128
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 3600 90% 43200
#acl localnet src 10.0.0.0/8 # RFC 1918 possible internal network
acl dmz_net src 172.100.200.0/27 # RFC 1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network
#acl localnet src fc00::/7 # RFC 4193 local private network range
#acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged)
machines
acl SSL_ports port 443 # https
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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
acl Social_block dstdom_regex .app.facebook.com .facebook.com
acl Bulvar dstdom_regex .super.cz
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny Social_block
http_access deny Bulvar
http_access allow localhost manager
http_access deny manager
http_access allow dmz_net
http_access allow localhost
http_access deny all
#Disk cache directory
cache_dir ufs /var/spool/squid3 1024 16 256
#Max memory cache usage
cache_mem 1024 MB
deny_info http://www.seznam.cz Bulvar
Thank you for any help.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160715/b2154019/attachment.html>
More information about the squid-users
mailing list