LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid ACL problem (http://www.linuxquestions.org/questions/linux-networking-3/squid-acl-problem-575293/)

sunlinux 08-07-2007 05:16 AM

squid ACL problem
 
hi all,

I put following lines below ACL tag:

acl ncsa_users proxy_auth REQUIRED
acl allo url_regex "/etc/squid/good ( allow domain list)

then I put under tag http_access:
http_access allo
http_access allow ncsa_users

problem is that squid authentication is ok , but I am unable to restrict all websites except I put in /etc/squid/good file.

Pls help..

acid_kewpie 08-08-2007 02:01 PM

well "http_access allo" is not a valid entry... did you mean "http_access allow allo"? if so that still won't do what you need, as those two ACL's will essentially be an "OR" scenario, when i expect you want an "AND"? in which case use "http_access allow allo ncsa_users" followed by a default deny.

sunlinux 08-09-2007 12:42 AM

solved..ok thanx


All times are GMT -5. The time now is 03:22 AM.