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


Reply via email to