[squid-users] make rules in squid based on cookies

From: JoseLuis AbettdelaTorre <jabett@dont-contact.us>
Date: Wed, 23 Oct 2002 15:40:11 -0300

Is there any way to read cookies at the squid and acording to the cookies
make rule for the user.

The problem is that i need to make a denny/allow list of url and define a
default home_page for every user. (Every user will have a diferente cookie)

For instance:
1.- cookie1= user123 ---> this user will be redirect, whetever the url he
ask, to the url= url1

1.- cookie2= user124 --->this user is allow to see the next url= url_a,url_b
and url_c. And if ask for a different url he will be redirect to the
url_default

The idea is to have a database with MySQL with the user identity(cookie) and
the url list (allow/denny) with a default page.

Thanks in advance,
José Luis
Received on Mon Oct 28 2002 - 08:53:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:55 MST