Results 1 to 1 of 1
I have installed squid on Debian Edge and configured it to work with authentication using ncsa_auth and have set client pcs to use squid as the proxy.It all works fine, ...
- 08-17-2007 #1Just Joined!
- Join Date
- Aug 2007
- Location
- South Africa - Pretoria
- Posts
- 1
squid + ncsa_auth PLEASE HELP !!!!!!!!!
I have installed squid on Debian Edge and configured it to work with authentication using ncsa_auth and have set client pcs to use squid as the proxy.It all works fine, the users are required to athenticate before browsing the net.
The problem that i have is that i have restricted one user to 2 sites only and in order for that user to view the allowed sites he is requested to enter username and password for every page that opens up.What did i do wrong?
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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl AllowedSites url_regex "/usr/local/squid/etc/allowed_sites"
acl USER1 proxy_auth rassie
acl ncsa_users proxy_auth REQUIRED
#acl local_net src 192.168.1.0/255.255.255.0
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow USER1 AllowedSites
http_access deny USER1
http_access allow ncsa_users


Reply With Quote
