Re: [squid-users] premium proxy services

From: Hement Gopal <hementg@dont-contact.us>
Date: Fri, 17 Feb 2006 14:53:20 +0200

Mark Elsen wrote:

>>Hi Mark
>>
>>I force authentication on both proxies. The authentication box that pops
>>up is from the central proxy..not premium.
>>
>
>
> You need to provide the auth. data fro the the premium cache server
> into the conf of the central proxy using :
>
> login=user:password
>
> as a parameter to the 'cache_peer' statement which defines the
> premium proxy.
>
> M.
>
Hi mark

I still get asked for authentication

here are my cache_peer inserts

acl wits src X.X.0.0/255.255.0.0
acl premium-sites url_regex -i "/usr/local/squid/etc/premium-sites.txt"
cache_peer XXX.domain.ac.za parent 80 3130 proxy-only no-query no-digest
login=user:password
cache_peer_access xxx.domain.ac.za allow premium-sites
cache_peer_access xxx.domain.ac.za deny wits

and my access.log entries. for testing, i've put cnn.com as a premium site.

s.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
1140180422.032 806 146.141.77.33 TCP_MISS/407 1746 GET
http://www.cnn.com/ cns.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
1140180423.861 835 146.141.77.33 TCP_MISS/407 1746 GET
http://www.cnn.com/ cns.hementg FIRST_UP_PARENT/xxx.domain.ac.za text/html
Received on Sun Feb 19 2006 - 07:32:18 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST