RE: [squid-users] Authenticate and 407 errors

From: Gareth Hastings <gareth@dont-contact.us>
Date: Sat, 19 Jul 2003 18:28:46 +0100

Please post your entire squid.conf (minus any
> comment lines)

Here ya go, thanks very much. Please note I have commented out 2 lines
that allow access to the 172.24.200.x subnet and that allow access via
the time acl. This was just for testing.

Gareth

---Squid.conf---

dns_nameservers 127.0.0.1 213.232.95.17 213.242.140.42

# http_port 3128

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

authenticate_program /usr/lib/squid/ncsa_auth /etc/squidpass
authenticate_children 5
authenticate_ttl 1 hour

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 network src 172.24.200.0/24
acl pass proxy_auth REQUIRED
acl daytime time 08:00-23:00

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 daytime
http_access allow pass
#http_access allow network

http_access allow localhost
http_access deny all

icp_access allow all

proxy_auth_realm Proxy
visible_hostname pluto.exodus.netgs.co.uk
Received on Sat Jul 19 2003 - 11:25:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:12 MST