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
;
> /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
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
___
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
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
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"
[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
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
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
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
_
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
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
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
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
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.
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
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
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
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
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
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
__
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
}
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
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
__
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
___
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
[: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
_
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
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
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
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
able.
--
Stig Sandbeck Mathisen, Linpro
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc
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
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
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
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
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
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
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
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
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
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
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
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
___
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
45 matches
Mail list logo