Re: [squid-users] proxy cache with multi back end server !

From: Henrik Nordstrom <[email protected]>
Date: Tue, 08 Apr 2008 14:33:51 +0200

tis 2008-04-08 klockan 14:26 +0200 skrev Mathieu Kretchner:
> cache_peer ip_server1 parent 80 0 no-query originserver name=server1
> cache_peer ip_server2 parent 80 0 no-query originserver name=server2
> acl foo urlpath_regex ^/foo
> cache_peer_access server1 allow foo
> cache_peer_access server2 deny foo

Looks fine to me.

/foo* is sent to server1, the rest to server2.

but keep in mind that it's case sensitive unless you use -i, and if you
are used to IIS or other case-insensitive web servers this may be a bit
confusing at first..

Regards
Henrik
Received on Tue Apr 08 2008 - 06:35:43 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT