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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 07 Mar 2007 13:40:05 +0100

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}

Regards
Henrik

Received on Wed Mar 07 2007 - 05:40:10 MST

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