Re: [squid-users] forwarding domain requests with login

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 28 Mar 2002 01:10:13 +0100

That would be

cache_peer_access parent2 allow course
cache_peer_access parent1 deny course

Hint: Use "squid -k parse" to verify your Squid configuration, and watch
cache.log closely when starting Squid after configuration changes.

Regards
Henrik Nordström
Squid Developer

Van Bossche Koen wrote:
>
> Hi all,
>
> I do have some difficulties getting the following to work:
> I have a local proxy forwarding requests to 2 parents.
> I want this proxy to forward all request for domains listed within the file
> coursedomains to parent2 with the 'hidden_usr' course account. All other
> requests go to parent1.
> This is what I have configured on the local proxy :
> cache_peer parent1 parent 8080 8081 no-digest no-netdb-exchange default
> cache_peer parent2 parent 8080 7 no-query default no-digest
> no-netdb-exchange login=course:pass
> acl course dstdomain "/etc/squid/doms"
>
> acl internetacl proxy_auth REQUIRED
> cache_peer_access 138.249.161.5 allow course parent2
> cache_peer_access 138.249.161.5 deny all
> http_access allow course
> http_access allow internetacl
> http_access deny all
> never_direct allow all
> prefer_direct off
>
> I did put on debugging and see requests go to the domains without
> authentication. However not for user course and not forwarded to parent2.
> I did not found anything when debugging regarding the forward to parent2
> itself (debug_options ALL,1 28,9).
>
> Does anyone have some suggestions how to configure the forward correctly for
> those domains within the file doms? Nicely appreciated.
Received on Wed Mar 27 2002 - 19:46:12 MST

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