[squid-users] Squid redirect to site not, client not receiving cookies

From: Matt Connolly <matt.connolly.au_at_gmail.com>
Date: Mon, 19 Jul 2010 23:51:59 +1000

Hi,

I have set up squid with a url_rewrite program to redirect requests through an SSH tunnel to a development server (to get through its firewall). The setup is like so:

Workstation browser -> Squid proxy -> SSH tunnel -> Server.

Browser goes to http://example.com/
Squid redirects to http://locahost:8080/
SSH maps localhost port 8080 through a tunnel to port 80 on the machine named example.com

Connections to the site are working fine. I can browse the site and Squid is doing a nice job of caching some of the static content.

However, the workstation browser is not receiving any cookies from the server, and is unable to "log in" to the web app because each request is always a new anonymous request.

Accessing other web sites which are not redirected, do not have any issues at all.

Does anyone know how to get squid to pass cookies through the url_rewrite mechanism?

Thanks,
Matt
Received on Mon Jul 19 2010 - 13:52:23 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 19 2010 - 12:00:04 MDT