Squid - jsessionid and reverse proxy

This is Interesting: Free IT Magazines  
Home > Archive > Squid > March 2007 > jsessionid and reverse proxy





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author jsessionid and reverse proxy
rebelbuttmunch

2007-03-21, 7:14 am

Hi,
I have a squid server set up as a reverse proxy. It receives a GET
from a tomcat server and passes the message to an apache server. My
problem is that the GET contains a jsessionid and I suspect thats why
all of the GETs MISS'es. Any ideas how to turn the MISSes into HITs? I
hope theres is a way to ignore or filter the jsessionid.

Heres an example from the squid access logs
TCP_MISS/200 8832 GET http:/111.111.222.333:8090/google_sim/ws.jsp? -
DIRECT/11.22.222.333 te
xt/html [Host: searchqa-m15.search.xxx.com:3128\r\nConnection: Keep-
Alive, TE\r\nTE: trailers, deflate, gzip, compress\r\nUse
r-Agent: HTTPClient/0.3-3 (JWAL)\r\nAccept-Encoding: gzip, x-gzip,
compress, x-compress, deflate\r\n] [HTTP/1.1 200 OK\r\nSer
ver: Apache-Coyote/1.1\r\nSet-Cookie:
JSESSIONID=B46562E7CCB2DEF5A3603163EC160
243; Path=/google_sim\r
\nContent-Type: text/htm
l;charset=ISO-8859-1\r\nDate: Tue, 20 Mar 2007 17:07:25 GMT\r
\nConnection: close\r\n\r]

Thanks!
Stephen.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com