LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   NCSA authentication goes off (https://www.linuxquestions.org/questions/linux-general-1/ncsa-authentication-goes-off-370249/)

Sleen 10-06-2005 04:41 AM

NCSA authentication goes off
 
I have configured my squid to use ncsa authentication.When i restart squid it doesn't authenticate my users again.This make me to activate the authentication each time manually. I used webmin to configure the authentication and it seems each time i start the service the REQUIRED in the External Auth Users disappears.
here is my squid.conf file
acl authentication proxy_auth REQUIRED
http_access allow authentication
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
authenticate_ip_ttl 60 second
auth_param basic realm SIC-X International Proxy Server
auth_param basic credentialsttl 1 hour
acl all src 0.0.0.0/0.0.0.0
acl sicx_net src 192.168.2.0/255.255.255.0
acl dmz_net src 192.168.3.0/255.255.255.0
acl bad_domains url_regex -i sex
acl bad_domains url_regex -i tit
acl bad_domains url_regex -i nue
acl bad_domains url_regex -i porn
acl QUERY urlpath_regex cgi-bin \?
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 Safe_ports port 80 # http
acl CONNECT method CONNECT
deny_info ERR_ACCESS_DENIED authentication
http_access deny bad_domains
http_access allow sicx_net
http_access allow dmz_net
http_access allow manager
http_access allow localhost
http_access allow SSL_ports
http_access deny all
cache_mgr sleenit@sic-x.com

Secondly i wish to know how i can automate my squid to start at boot time.


All times are GMT -5. The time now is 01:41 AM.