Re: [squid-users] Need help with multiple web server reverse proxy

From: Robin Bonin <rbonin_at_gmail.com>
Date: Tue, 5 Jul 2011 17:41:32 -0500

My goal is to get a handful of domains redirected to a lamp server and
the rest defaulted to my windows server.

I tried adding all to the windows server cache_peer_access line, then
all traffic went to my windows server. I also tried playing with the
position of that line. Seem like no matter where it is, when I have
all in there, all traffic is redirected there.

On Tue, Jul 5, 2011 at 3:06 PM, Kinkie <gkinkie_at_gmail.com> wrote:
> On Tue, Jul 5, 2011 at 9:58 PM, Robin Bonin <rbonin_at_gmail.com> wrote:
>> I have a squid reverse proxy working for all the domains that I
>> specify in the squid.conf file. I would like to add an additional
>> default rule, if the domain does not match one of the known domains.
>>
>> I am mapping the domains to the particular servers using the following
>> config lines.
>>
>>> cache_peer 10.10.20.15 parent 80 0 no-query no-digest originserver name=lamp_server login=PASS
>>> acl sites_lamp dstdomain (list of domain names here)
>>> cache_peer_access lamp_server allow sites_lamp
>>
>> is there an additional acl line that I can use for "other"?
>
> "all" will do, just place it at the end of your cache_peer_access lines.
>
> --
>     /kinkie
>
Received on Tue Jul 05 2011 - 22:41:39 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 06 2011 - 12:00:01 MDT