On Tue, 8 Apr 2008 11:22:47 +0200
[EMAIL PROTECTED] wrote:
A question about cookies in VCL.
Is there a way of handling cookies in VCL?
Like:
if(req.http.Cookies[userid] == 1234)
or
set req.http.Cookies[language] = sv
Kind of. vcl_recv looks like this:
sub vcl_recv {
if
On Fri, 28 Mar 2008 06:27:22 +0100
Stig Sandbeck Mathisen [EMAIL PROTECTED] wrote:
On Thu, 27 Mar 2008 15:55:09 +0100, Florian Engelhardt
[EMAIL PROTECTED] said:
Why is this X-JSON header missing when requested via varnish?
It would help if you include output from varnishlog which shows
Hello,
i have a question about access loggin in varnish. On the old
environment we had just a plain lighttpd on port 80 an its logfile.
When caching via varnish in the new environment, most of the requests
will not hit lighttpd and will therefor not show up in its access.log
file. Is there any
On Fri, 28 Mar 2008 10:50:45 +0100
Florian Engelhardt [EMAIL PROTECTED] wrote:
Hello,
i have a question about access loggin in varnish. On the old
environment we had just a plain lighttpd on port 80 an its logfile.
When caching via varnish in the new environment, most of the
requests
On Fri, 28 Mar 2008 10:41:43 +0100
Stig Sandbeck Mathisen [EMAIL PROTECTED] wrote:
On Fri, 28 Mar 2008 08:15:59 +0100, Florian Engelhardt
[EMAIL PROTECTED] said:
Received from backend.
15 RxHeader b X-JSON: foobar
Varnish object contains the header.
14 ObjHeaderc X
On Fri, 28 Mar 2008 12:05:23 +0100
[EMAIL PROTECTED] wrote:
Hi,
I got a question regarding the Directors in varnish vcl.
If user A is logging in to http://mywebsite.com and the website is
using varnish (with directors) in front of 4 backend servers. The 4
backend servers is identical.
Hello,
i've got a problem with the X-JSON HTTP-Header not beeing delivered by
varnish in pipe and pass mode.
My application runs on PHP with lighttpd, when querying the lighty
direct (via port :81), the header is present in the request. PHP Script
is as follows:
?php
header('X-JSON: foobar');