[squid-users] Squid Error Assistance Needed.

From: gn0m3 <jwhelan_at_spaceair.co.uk>
Date: Thu, 20 Aug 2009 04:31:09 -0700 (PDT)

Hi guys,

I added a new acl into the squid.conf file and now the service will not
start. I have taken out what I put in and re-saved then rebooted the server.
Still no joy. The error tells me it is in line 54 which is as follows

http_access allow manager localhost

When i launch squid directly in the terminal it tells me ACL localhost not
defined, yet it is (see below)

Below is the conf file. Any help would be hugely appreciated!!

Thanks.
BTW : Mac OSX 10.4.11

http_port 3128
ssl_unclean_shutdown off
icp_port 0
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 8 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir ufs /opt/squid/var/cache 100 16 256
cache_access_log none
cache_log /opt/squid/var/logs/cache.log
cache_store_log none
emulate_httpd_log off
log_ip_on_direct on
mime_table /opt/squid/etc/mime.conf
log_mime_hdrs off
pid_filename /opt/squid/var/logs/squid.pid
log_fqdn off
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 1 minute
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl to_localhost dst 127.0.0.0/8
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 !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_effective_user nobody
visible_hostname squid-dgc
coredump_dir /opt/squid/var/cache

-- 
View this message in context: http://www.nabble.com/Squid-Error-Assistance-Needed.-tp25060332p25060332.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu Aug 20 2009 - 11:31:13 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 20 2009 - 12:00:04 MDT