iptables dennying donot crash squid. I suggest you to check squid log file, send complete conf of ur box plz... On 7/6/06, John Oliver <joliver@xxxxxxxxxxxxxxx> wrote:
[root@kira squid-2.5.STABLE14]# /usr/local/squid/sbin/squid -k debug squid: ERROR: No running copy I was trying to find out why I always get: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:81/ The following error was encountered: * Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. I tried "http_access allow all" since I'm using Squid as an accelerator, but that didn't work. My squid.conf: http_port 80 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY cache_dir ufs /var/spool/squid/cache 100 16 256 logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" %Ss:%Sh access_log /var/log/squid/access_log combined cache_log /var/log/squid/cache.log cache_store_log /var/log/squid/store.log emulate_httpd_log on pid_filename /var/run/squid.pid 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 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 to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 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 all http_reply_access allow all httpd_accel_host localhost httpd_accel_port 81 coredump_dir /usr/local/squid/var/cache -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * ***********************************************************************
-- Best Regards NIMA SADEGHIAN