I'll take a stab at this one. Henrik will probably have a much better
suggestion though.
If you have a list of sites which require passwords, try this:
Try this (IP addresses are just for example):
acl all 0/0
acl login_sites dst 10.0.23.4 203.4.56.18 .... # include all sites which
require login
acl open_sites dst 194.7.3.34 12.4.56.91 .... # include all other sites you
allow access to
acl must_login proxy_auth REQUIRED # same as your "acl passwd
proxy_auth..."
...
http_access allow login_sites must_login
http_access allow open_sites # or "http_access allow all" if all allowed
http_access deny all
This should force all users to log in to any sites in the "login_sites" acl.
Winston
-----Original Message-----
From: Chris [mailto:chris@chris.prv.pl]
Sent: Tuesday, October 16, 2001 3:30 PM
To: Squid Users
Subject: [squid-users] proxy_auth
I see a lot of guys asking about acl but no post describes what I need.
How to define acl and http_access that for some destination users will be
prompted for password for others not (ldap server).
I see in all examples:
acl passwd proxy_auth
http_access allow passwd
What is 'passwd', squid variable (I can see no other line which
defines 'passwd')?
That would be great if someone could supply me with some example.
And the second question, how to make redirections?
user type 'http://something' and he is redirected to 'http://someting.com
or to another proxy server (must be possibility to define several
redirections depending url).
In Netscape they call it templates.
Thanks a lot for help
Chris
Received on Tue Oct 16 2001 - 17:57:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:47 MST