Search squid archive

Re: Need help with multiple web server reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
> On Tue, Jul 5, 2011 at 9:58 PM, Robin Bonin <rbonin@xxxxxxxxx> 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
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux