Re: [squid-users] Redirect some URLs to another squid...?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 05 Feb 2003 23:33:37 +0100

Ingram wrote:
>
> hi again,
>
> i tried your suggestions, but since i am somewhat new to the business i got
> problems getting the rights acls set.
>
> i used:
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> cache_peer 123.123.123.123 parent 8080 7 [proxy-only]
>
> #To say that 123.123.123.123 is the other proxy at our co-business, it
> listens on
> #port 8080 and has no ICP but an open echo port.

use no-query instead.

and there should be no brakets around cache_peer options.. this is just
there in the documentation to show that the options are optional..

> acl special_url url_regex ^http://www.squid-cache.org$
> cache_peer_access 123.123.123.123 allow special_url

Why url_regex of all acl types? Isn't it better with a dstdomain type
acl there?

> #I want that all http-requestst to squid-cache.org should go to the other
> proxy...
>
> never_direct allow special_url
>
> #and said squid that it should not process this Url directly
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Squid quits me on restart with:
> proxy# squid
> 2003/02/05 12:42:25| parse_peer: token='[proxy-only]'
> FATAL: Bungled squid.conf line 247: cache_peer erlanger parent 8080
> 7 [proxy-only]

Regards
Henrik
Received on Wed Feb 05 2003 - 15:54:13 MST

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