Re: cache purging questions

2009-06-09 Thread Stig Sandbeck Mathisen
of commands starting with purge After a minute of testing: varnishadm -T localhost:6082 \ 'purge req.http.host == www.example.org req.url ~ /foo|bar/' ...neat. varnishadm -T localhost:6082 'purge.list' ...even more neat :) This is on varnishd 2.0.4, by the way. -- Stig Sandbeck Mathisen

Re: Weird backend selection policy

2009-03-27 Thread Stig Sandbeck Mathisen
vcl_pipe { set req.http.connection = close; } A comment have been added to sub vcl_pipe in the default VCL in trunk regarding this issue, see around line 64 in: http://varnish.projects.linpro.no/browser/trunk/varnish-cache/bin/varnishd/default.vcl -- Stig Sandbeck Mathisen Senior

Re: Removing Headers

2008-11-18 Thread Stig Sandbeck Mathisen
page. -- Stig Sandbeck Mathisen [EMAIL PROTECTED] Redpill Linpro AS - Changing the Game signature.asc Description: Digital signature ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: zope-plone.vcl

2008-05-05 Thread Stig Sandbeck Mathisen
. I'll look at the points in this thread, test a bit, and update the example. The plone.recipe.varnish template looks especially nice. Are there any good reasons not to run Plone with the CacheFu (or CacheSetup) product installed? Would a non-CacheFu example be of any use? -- Stig Sandbeck

Re: unprocessed requests

2008-04-23 Thread Stig Sandbeck Mathisen
access to run varnishlog, to see details of your client and backend traffic, as well as what happens with your request through VCL. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no

Re: unprocessed requests

2008-04-23 Thread Stig Sandbeck Mathisen
On Thu, 24 Apr 2008 06:52:29 +0200, Stig Sandbeck Mathisen [EMAIL PROTECTED] said: If one request goes is directed to pipe, and the connection is kept open, other requests will go through the same connection without being inspected touched by varnish. This is especially visible after

Re: Unprivileged user?

2008-04-17 Thread Stig Sandbeck Mathisen
On Wed, 16 Apr 2008 06:56:37 +, Poul-Henning Kamp [EMAIL PROTECTED] said: In message [EMAIL PROTECTED], Stig Sandbeck Mathisen writes: * Read access to where you store your VCL files No, the vcl files are read by the master process which does not drop priviledge. * Execute a C

Re: Unprivileged user?

2008-04-15 Thread Stig Sandbeck Mathisen
) * Read access to where you store your VCL files * Execute a C compiler * Write access to its cache directory, to store the compiled configuration * Write core dumps ...possibly more. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list

Re: production ready devel snapshot?

2008-04-01 Thread Stig Sandbeck Mathisen
to revision^Wrelease 2617 of varnish trunk. :) -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: production ready devel snapshot?

2008-03-31 Thread Stig Sandbeck Mathisen
On Mon, 31 Mar 2008 20:10:06 +0200, Sascha Ottolski [EMAIL PROTECTED] said: is there anything like a snapshot release that is worth giving it a try, especially if my configuration will hopefully stay simple for a while? You could try using trunk. It seems fairly stable. -- Stig Sandbeck

Re: Varnish vs. X-JSON header

2008-03-28 Thread Stig Sandbeck Mathisen
. Does the absense of the header create problems? -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish vs. X-JSON header

2008-03-27 Thread Stig Sandbeck Mathisen
sufficient detail of all request and response headers transferred between the backend, varnish, and the client during that transaction. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no

Re: Authenticate or Authorization?

2008-03-27 Thread Stig Sandbeck Mathisen
://login.example.com Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ= ...so you'll probably need to change that to match for Authorization instead, to not cache these documents. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc

Re: Authenticate or Authorization?

2008-03-27 Thread Stig Sandbeck Mathisen
called Authenticate:. It is not a substring match. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: vcl-mode for emacs

2008-03-05 Thread Stig Sandbeck Mathisen
the capture group to highlight, then. I don't think identifier is available as a font-lock-mode colouring, but function is. That may be better than keyword. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

Re: Forward client IP address

2008-02-21 Thread Stig Sandbeck Mathisen
to Apaches access logs? Is it possible? I've added a recipe for this to the FAQ, see http://varnish.projects.linpro.no/wiki/FAQ#HowcanIlogtheclientIPaddressonthebackend (nice long url) -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list

Re: http purge help

2008-02-21 Thread Stig Sandbeck Mathisen
interface and running 'url.purge *'. We'd like to protect them (and us) from that if possible. That's a good thought. :D -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman

Re: http purge help

2008-02-21 Thread Stig Sandbeck Mathisen
Stig Sandbeck Mathisen [EMAIL PROTECTED] writes: * http://www.example.com/KjempeStortPinnsvin PURGE / HTTP/1.1 Host: www.example.com I'm not at my best after just one cup of coffee, sory. This should be: PURGE /KjempeStortPinnsvin HTTP/1.1 ...of course. Same with the two others

Re: Help debugging cacheability / ttl information?

2008-02-18 Thread Stig Sandbeck Mathisen
need: set req.http.connection = close; in front of pipe, instead of the defaults. Especially if you do any kind of URL rewriting. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no

vcl-mode for emacs

2008-02-18 Thread Stig Sandbeck Mathisen
with M-x customize-group RET vcl RET * Vcl Indent Level indicates the number of spaces used to indent to the next level. Default 8 * Vcl Indent Tabs Mode indicates wether spaces can be replaced by TAB characters when indenting. Default is nil, which means no tabs. -- Stig Sandbeck Mathisen

Re: http purge help

2008-02-18 Thread Stig Sandbeck Mathisen
this: sub vcl_recv { # [...] if (req.request != GET req.request != HEAD) { if (req.request == PURGE) { if (!client.ip ~ purge) { error 405 Not allowed.; } lookup; } set req.http.connection = close; pipe; } # [...] } -- Stig Sandbeck Mathisen

Re: Varnish answering multiple incoming ports

2008-02-11 Thread Stig Sandbeck Mathisen
Fredrik Nygren [EMAIL PROTECTED] writes: Better suggestions? Why split the traffic at all, if only to collect it in the same varnish instance? -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

Re: Not caching immediately?

2008-02-01 Thread Stig Sandbeck Mathisen
= close; } -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Migration from Squid

2008-01-18 Thread Stig Sandbeck Mathisen
; | } | ` You can manipulate headers received from the client (req.http.*), as well as the request headers sent to the backend (bereq.http.*), object headers retrieved from cache or backend (obj.http.*) and response headers (resp.http.*) sent to the client in the same way. -- Stig Sandbeck Mathisen

Re: hiding varnish headers from requests

2008-01-07 Thread Stig Sandbeck Mathisen
to exit this client is not to type quit, but rather with the escape character '^]', followed by the command close, which may also be abbreviated to c. For more information, see your system's telnet(1) man page. -- Stig Sandbeck Mathisen, Linpro ___ varnish

Re: varnish as a reverse proxy

2008-01-04 Thread Stig Sandbeck Mathisen
) backend_round_robin rr { Can you please clarify why the error comes. I tried different ways to set it. But no luck. Also attaching the vcl FYR. Which version of Varnish are you using? -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list

Re: The revenge of the return of 1.1.2

2007-12-18 Thread Stig Sandbeck Mathisen
Dag-Erling Smørgrav [EMAIL PROTECTED] writes: [...] once Stig merges his changes to the Debian package metadata, That's now done as well. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http

Re: save cache on exit?

2007-12-04 Thread Stig Sandbeck Mathisen
Corin Langosch [EMAIL PROTECTED] writes: How can I tell varnish to save the cached data to disk at shutdown? That is not possible. However, you can reconfigure Varnish at runtime, so there should be little reason to shutdown a varnish process once it is in production. -- Stig Sandbeck

Re: Varnish and HTTPS

2007-12-04 Thread Stig Sandbeck Mathisen
your users and varnish, so varnish can accelerate the http traffic. The pipeline would look like this: Duh Internet - https2http gw - varnish - http server -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no

Re: Browser refresh and varnish

2007-08-02 Thread Stig Sandbeck Mathisen
Aug 2007 10:23:26 GMT Client-Peer: 209.85.51.151:80 Client-Response-Num: 1 Title: 404 Not Found Alternatively, you specified a domain of someone else's web site. Please don't. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc

Re: Q: multiple backends

2007-07-06 Thread Stig Sandbeck Mathisen
Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: varnish and Nginx

2007-07-02 Thread Stig Sandbeck Mathisen
Dingo [EMAIL PROTECTED] writes: So its feasible to run Nginx as the server/load balancer and varnish as the front end cache giving potentially a decent high speed/high capacity design. Yes, those two will complement eachother. -- Stig Sandbeck Mathisen, Linpro

Re: More logging questions - hostname again

2007-06-28 Thread Stig Sandbeck Mathisen
Dag-Erling Smørgrav [EMAIL PROTECTED] writes: I intend to eventually modify varnishncsa to understand Apache CustomLog format strings Now, that's really high on the nice-to-have list. :D -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing