Hello,
This https://www.varnish-cache.org/trac/wiki/VCLExampleRemovingSomeCookies does 
not work or
all my other examples in the default.vcl

#       set req.http.cookie = regsub(req.http.cookie, "(; )?PHPSESSID=[^;]+", 
"");
#       if (req.http.cookie ~ "^ *$") {
#               remove req.http.cookie;
#       }
#
#       if (req.http.Cookie) {
#         set req.http.Cookie = regsuball(req.http.Cookie, "(^|; ) 
*__utm.=[^;]+;? *", "\1"); # removes all cookies named __utm? (utma, utmb...) - 
tracking thing
#
#           if (req.http.Cookie == "") {
#               remove req.http.Cookie;
#           }
#       }

#       if (req.http.Cookie ~ "PHPSESSID")
#       {
#               remove req.http.Cookie;
#       }

We need urgent help, the production system take down if the frontned servers 
are overload+

Best regards
Alexander


Von: Dag Haavi Finstad [mailto:[email protected]]
Gesendet: Mittwoch, 30. Januar 2013 16:47
An: Alexander Diedler
Cc: [email protected]
Betreff: Re: Remove PHPSESSID from Header


On Wed, Jan 30, 2013 at 3:44 PM, Alexander Diedler 
<[email protected]<mailto:[email protected]>> wrote:
Hello,
How Can I remove the Cookie PHPSESSID from header send by client in Varnish 
3.0.3?

Hi there
There are examples for this on the wiki. Please see 
https://www.varnish-cache.org/trac/wiki/VCLExampleRemovingSomeCookies


--
[http://www.varnish-software.com/static/media/logo-email.png]<http://www.varnish-software.com>

Dag Haavi Finstad
Developer | Varnish Software AS
Phone: +47 21 98 92 60
We Make Websites Fly!


_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to