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

From: Ingram <Vail@dont-contact.us>
Date: Wed, 5 Feb 2003 11:49:49 +0100 (MET)

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.

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

#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]
Squid Cache (Version 2.4.STABLE7): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.005 user + 0.000 sys
Maximum Resident Size: 908 KB
Page faults with physical i/o: 0
Abort (core dumped)

Could you guys help me a bit? How should these acls look like?

Many thanks in advantage & sorry for my poor english
Ingram

===8<==============Original message text===============
Sure thing.

See the following squid.conf directives: (you need all of them)

  cache_peer, to teach Squid that there is another proxy
  cache_peer_access, to teach Squid for what this other proxy may be
used
  never_direct, to teach Squid that certain sites cannot be reached
directly on the Internet.

Regards
Henrik

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
Received on Wed Feb 05 2003 - 03:49:55 MST

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