[squid-users] Few Questions !

From: Arindam Haldar <arindam@dont-contact.us>
Date: Mon, 10 Jun 2002 03:13:20 +0530

hi all,
i have 2 questions

1) wanted to ask why this failed-->
acl users_realip src "/etc/squid/users-realip"
acl users_cable src "/etc/squid/users-cable"
http_access allow users_realip users_cable
http_access allow localhost
http_access deny all
usingthe above gace access denied to every ip in list.
sooner i give allow to users in 2 consicutive lines users access were allowed!
http_access allow users_realip
http_access allow users_cable
this solved the problem but am wondering y the first failed !

2)
acl PURGE method PURGE
http_access deny PURGE !localhost
http_access allow localhost
i have telnet to squid server & gave this command as root-->
client -m PURGE http://www.yahoo.com/
HTTP/1.0 403 Forbidden
Server: Squid/2.4.STABLE6
Mime-Version: 1.0
Date: Sun, 09 Jun 2002 21:38:45 GMT
Content-Type: text/html
Content-Length: 1311
Expires: Sun, 09 Jun 2002 21:38:45 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from cab1.d2visp.com
Proxy-Connection: close

why so ?? ..

thanking in advance...
A.H
Received on Sun Jun 09 2002 - 15:34:40 MDT

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