RE: [squid-users] Accelerated Squid-3.0-PRE3 - Too few redirector processes are run ning

From: Chris Perreault <Chris.Perreault@dont-contact.us>
Date: Tue, 20 Jul 2004 07:44:10 -0400

Not sure why, and the redirector did this as well, but in the below scenario
mysite.com/intranet will not work, but mysite.com/intranet/ does work. The
trailing slash is needed. For us this is ok, because outside folks will get
to the sites by following other links, they very very seldom will be typing
it in themselves. I just wanted to post this in case someone else was trying
it and wondered why mysite.com/intranet failed.

Chris Perreault

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Monday, July 19, 2004 6:57 PM
To: Chris Perreault
Cc: 'Henrik Nordstrom'; Squid_Users (E-mail)
Subject: RE: [squid-users] Accelerated Squid-3.0-PRE3 - Too few redirector
processes are run ning

On Mon, 19 Jul 2004, Chris Perreault wrote:

> Ie: the user types in:
> mysite.com/intranet and ends up at 10.x.y.1/intranet
> mysite.com/extranet and ends up at 10.x.y.2/extranet mysite.com/sales
> and ends up at 10.x.y.3/sales

Assuming there is a cache_peer for each server

acl url_intranet urlpath_regex ^/intranet
cache_peer_access 10.x.y.1 allow url_intranet

acl url_extranet urlpath_regex ^/extranet
cache_peer_access 10.x.y.2 allow url_extranet

acl url_sales urlpath_regex ^/sales
cache_peer_access 10.x.y.3 allow url_sales

This is how the accelerator request routing functions in Squid-3 is
supposed to be used.

Regards
Henrik
Received on Tue Jul 20 2004 - 05:45:09 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT