Min squid.conf virker ikke
Jeg har lavet nedenstående og den melder denne fejl når jeg bruger browseren:While trying to retrieve the URL: http://www.gnuskole.dk/bog/squid.html
The following error was encountered:
Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that:
The cache administrator does not allow this cache to make direct connections to origin servers, and
All configured parent caches are currently unreachable.
# Squid konfiguration
http_port 8080
cache_mem 15 MB
cache_dir ufs /var/spool/squid 300 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
visible_hostname squidbox
acl all src 0.0.0.0/0.0.0.0
never_direct allow all
acl Safe_ports port 80
acl Safe_ports port 8080
#acl Safe_ports port 21
acl Safe_ports port 443 563
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 CONNECT method CONNECT
# access-list
acl localhost src 127.0.0.1/255.255.255.255
acl vores src 172.16.0.0/255.255.0.0
acl keyword1 url_regex sex
acl keyword2 url_regex porno
acl keyword3 url_regex dating
acl domain1 dstdomain .porno.dk
acl domain2 dstdomain .dating.dk
acl domain3 dstdomain .scor.dk
acl domain4 dstdomain .icq.dk
acl domain5 dstdomain .kazaa.com
acl domain6 dstdomain .sharereactor.com
#deny regler for keywords
http_access deny keyword1
http_access deny keyword2
http_access deny keyword3
#deny regler for domains
http_access deny domain1
http_access deny domain2
http_access deny domain3
http_access deny domain4
http_access deny domain5
http_access deny domain6
http_access allow vores
http_access allow localhost
http_access deny !Safe_ports
