[squid-users] Re: How do I redirect based on the value in a cookie?

From: Suresh V <suresh_vv@dont-contact.us>
Date: Fri, 23 Mar 2007 18:10:32 +0530

Henrik Nordstrom wrote:
> ons 2007-03-07 klockan 10:20 +0530 skrev Suresh V:
>
>> I looked at external_acl_type but was not able to put together a
>> solution. My use case is that All authenticated users (from the cookie)
>> go to 1 server while all Anonymous users go to a different server.
>
> See the %{Header:;member} argument. Can be used for extracting cookies
> from the request. I.e. %{Cookie:;user} %{Cookie:;session}

OK. I got that part. Now how do I use deny_info to redirect to another
server? All I can see instructions for is to put up a custom error page.

Suresh
Received on Fri Mar 23 2007 - 06:31:48 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT