Realizing vhosts with varnish

Lars Jørgensen ITLJ at gyldendal.dk
Fri Dec 17 12:27:23 CET 2010


Hi Frank,

I don't what you're trying to achieve on the differentiated caching. If you're simply looking to cache some virtual hosts and not others on the same physical host, why don't you just do it in DNS? The cached host names point to varnish, the uncached directly to the backend.


Lars

-----Original Message-----
From: varnish-misc-bounces at varnish-cache.org [mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of Frank Helmschrott
Sent: Friday, December 17, 2010 8:57 AM
To: Stefan Pommerening; varnish-misc at varnish-cache.org
Subject: Re: Realizing vhosts with varnish

I just found out that probably all i really need is to switch backends
based on the req.http.Host called or based on IP (i gotta find out
which is more useful for me).

Most of the other stuff should in my case be nearly the same for alle
projects handled by varnish.

2010/12/17 Kristian Lyngstol <kristian at varnish-software.com>:
> On Fri, Dec 17, 2010 at 08:49:31AM +0100, Kristian Lyngstol wrote:
>> This is incorrect.
>
> I just realized Per already answered this - sorry about the duplicated
> response. (It seems to be popular in this thread).
>
> - Kristian
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQEcBAEBAgAGBQJNCxZ6AAoJEIC1IG5rXEfqy4IH/Rq+2qhfiI52QtSiB/BTepsV
> cZogjfXU2unrtze9tyrG2TLpgJIQVh4X1CKsmsu0G5zRwfQhv7u4jHa3f2aao/Mq
> q0r4p+PDqyaCfxuihxIrdi7a6bYARbTnKsmQjequBJBhhr9Gk9wJibrZvPxXvVIf
> HxhtkhjWmWjETxBTOy91II2xn/e14ONAAk2PMCR5t5sO4FkerEqqXRMtmOLBJIFu
> ETmwtATQdftANR6hI8TAcQKwdVzgCdmyBFzu/gPzOKufkdWmQ+GLXd2sSW90aQ7i
> msbWqFlj3KSuVpTBUwv7JUBdlD3sskYbcyKDPSywJWp7jeRau8nm/dBeMQn5NGw=
> =M5Rz
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Frank

_______________________________________________
varnish-misc mailing list
varnish-misc at varnish-cache.org
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list