Re: Moving a redirect from backend to varnish

2007-01-17 Thread Stig Sandbeck Mathisen
h RewriteCond. Note that it is possible for the user to add information to this header when sending a request. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: log files

2007-06-19 Thread Stig Sandbeck Mathisen
; > /usr/bin/nohup \ > /usr/bin/varnishncsa -c -a -w /var/log/httpd/varnish_combined-access_log & One separate init script (for Debian) is available at http://varnish.projects.linpro.no/browser/trunk/varnish-cache/debian/varnish.varnishlog.ini

Re: More logging questions - hostname again

2007-06-27 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 ___

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 M

Re: Q: multiple backends

2007-07-06 Thread Stig Sandbeck Mathisen
ficiently advanced incompetence is indistinguishable from malice. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Varnish - configuration

2007-07-23 Thread Stig Sandbeck Mathisen
Kamil Radziszewski <[EMAIL PROTECTED]> writes: > Allrigth but i don't know how to set the path where the files should be > cachedi don't know if the default configuration is correct for me ... That's in the man page of "varnishd"

Re: Varnish don't want cache

2007-07-26 Thread Stig Sandbeck Mathisen
[EMAIL PROTECTED] writes: > I don't know why but varnish dont want cache anything , i allways > get HttpStatus: recive nothink and RxResponse: not found :/ A bit more information would be really helpful. > wtf ? :) vcl! -- Stig Sandbeck Ma

Re: Configuration help

2007-07-30 Thread Stig Sandbeck Mathisen
varnish-cache/etc/zope-plone.vcl -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: refresh varnish cache

2007-08-02 Thread Stig Sandbeck Mathisen
sr/faqs/smart-questions.html, it might be helpful. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Browser refresh and varnish

2007-08-02 Thread Stig Sandbeck Mathisen
ype: text/html; charset=iso-8859-1 Client-Date: Thu, 02 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 _

Re: Zope/Plone and Varnish

2007-09-13 Thread Stig Sandbeck Mathisen
ish/varnish.log -o -b TxURL /IEFixes.css -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

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

Re: Varnish and HTTPS

2007-12-04 Thread Stig Sandbeck Mathisen
s to http gateway between 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

Re: Varnish and HTTPS

2007-12-05 Thread Stig Sandbeck Mathisen
n't https > encrypted? This is already answered in http://varnish.projects.linpro.no/wiki/FAQ -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

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.

Re: varnish as a reverse proxy

2008-01-04 Thread Stig Sandbeck Mathisen
7;, found 'backend_round_robin' at > (/etc/varnish/test.vcl Line 1 Pos 1) > 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? -- St

Re: hiding varnish headers from requests

2008-01-07 Thread Stig Sandbeck Mathisen
are using telnet to connect to Varnish. The proper way 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 in

Re: Migration from Squid

2008-01-18 Thread Stig Sandbeck Mathisen
t 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, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Not caching immediately?

2008-02-01 Thread Stig Sandbeck Mathisen
appropriate config snippet? vcl_pipe { set req.http.connection = "close"; } -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

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.linpr

Re: Help debugging cacheability / ttl information?

2008-02-18 Thread Stig Sandbeck Mathisen
r people I > gather?! That is my impression, yes. However, you may 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 __

vcl-mode for emacs

2008-02-18 Thread Stig Sandbeck Mathisen
ot; indicates wether spaces can be replaced by TAB characters when indenting. Default is "nil", which means no tabs. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: http purge help

2008-02-18 Thread Stig Sandbeck Mathisen
} set req.http.connection = "close"; pipe; } # [...] } -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Forward client IP address

2008-02-21 Thread Stig Sandbeck Mathisen
n incoming request from Varnish 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 __

Re: http purge help

2008-02-21 Thread Stig Sandbeck Mathisen
it for them by telneting to the > Varnish management 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 ___

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. S

Re: vcl-mode for emacs

2008-03-05 Thread Stig Sandbeck Mathisen
[:alpha:]])", and use 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 _

Re: Varnish vs. X-JSON header

2008-03-27 Thread Stig Sandbeck Mathisen
x27;ll provide 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://proj

Re: Authenticate or Authorization?

2008-03-27 Thread Stig Sandbeck Mathisen
TTP/1.1 Host: http://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 ___ varnis

Re: Authenticate or Authorization?

2008-03-27 Thread Stig Sandbeck Mathisen
single request http header 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: Varnish vs. X-JSON header

2008-03-28 Thread Stig Sandbeck Mathisen
not present. I'm not sure if it is still relevant for the varnish->client connection. 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: production ready devel snapshot?

2008-03-31 Thread Stig Sandbeck Mathisen
able. -- 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-04-01 Thread Stig Sandbeck Mathisen
e random features. Then you could refer 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: cache empties itself?

2008-04-04 Thread Stig Sandbeck Mathisen
is force > a restart of the child, thus flushing the cache? No. The reason Varnish has vcl.load and vcl.use is to make sure you don't have to restart anything, thus losing your cached data. -- Stig Sandbeck Mathisen, Linpro ___ varnis

Re: No subject

2008-04-09 Thread Stig Sandbeck Mathisen
On Wed, 09 Apr 2008 09:09:36 +, "Poul-Henning Kamp" <[EMAIL PROTECTED]> said: > Hmm, not presently I'm afraid. If possible, you could add this header on the backends. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc m

Re: Unprivileged user?

2008-04-15 Thread Stig Sandbeck Mathisen
firewall) * 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 mai

Re: Unprivileged user?

2008-04-16 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 proces

Re: Munin-Plugin

2008-04-23 Thread Stig Sandbeck Mathisen
dtool update). See http://munin.projects.linpro.no/wiki/HowToWritePlugins#DERIVEDvs.COUNTER -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: unprocessed requests

2008-04-23 Thread Stig Sandbeck Mathisen
we > can take a look at? Unfortunately I do not have root access to the > relevant machines, so I can not get a network dump. As a non-privileged user, you may still have access to run "varnishlog", to see details of your client and backend traffic, as well as what happens wi

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. Thi

Re: zope-plone.vcl

2008-05-05 Thread Stig Sandbeck Mathisen
xample be of any use? -- Stig Sandbeck Mathisen, Linpro ___ 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
ock as well? Not sure what it means performance wise, but it removes one conditional for a normal GET request. -- Stig Sandbeck Mathisen, Linpro ___ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc

Re: Removing Headers

2008-11-18 Thread Stig Sandbeck Mathisen
th the "remove" keyword. See the vcl(7) man page. -- Stig Sandbeck Mathisen <[EMAIL PROTECTED]> Redpill Linpro AS - Changing the Game signature.asc Description: Digital signature ___ varnish-misc mailing list varnish-misc@projects.linpr

Re: Weird backend selection policy

2009-03-27 Thread Stig Sandbeck Mathisen
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 systemadministrator, leder faggruppe nettverk Redpill Linpro AS - Changing the Game signature.asc Description: Digital signature ___

Re: cache purging questions

2009-06-09 Thread Stig Sandbeck Mathisen
purge" mentioned in varnishd(1) is not visible, but rather a group 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 localho