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

Reply via email to