Search squid archive

Re: rewriting cookies with squid ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey There,

The basic way to do that is to use ICAP service.
You better set couple acls that will allow or disallow the "routing" of the http requests towards the ICAP service to lower the load on it. I have used in the past with GreasySpoon ICAP service which is based on java and offers lots of options to do what you need.

I have written a ruby ICAP service which is not perfected yet at the repo:
https://github.com/elico/echelon

It helps to understand the way that ICAP works.
It was not meant to mangle with cookies but a good ruby developer can convert this code into a cookie mangler program.

You can see explanation and examples of usage with ICAP at:
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/Coordinator#Summery_of_the_ICAP_solution

If something is not understandable by your or anyone just ask.

Eliezer

On 27/01/14 11:53, Travel Factory S.r.l. wrote:

In order to have an intranet application use a single sign on system
we'd need to rewrite a cookie...

A server sets a cookie for host1.domain.tld and we need to strip host1
so that the cookie is valid for the whole domain.

Is it possibile with squid and/or with some rewriting plugins ?

Thanks





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux