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

From: Mathieu Kretchner <mathieu.kretchner@dont-contact.us>
Date: Tue, 08 Apr 2008 15:07:24 +0200

I browse it with firefox, the web server is apache and the 3 OS (client
  and 2 servers) are linux.
So it should work well, but it don't and when I swap the 2 ip_server I
can see server2 but not server1 in foo directory ?
Very strange.

Henrik Nordstrom a écrit :
> 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 - 07:07:37 MDT

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