Problem with varnish

Allan Jacobsen allan.j at cobsen.dk
Tue Oct 31 20:04:28 CET 2006


On Tuesday 31 October 2006 19:17, Poul-Henning Kamp wrote:
> In message <5ap9vqln.1162211911.4277360.allan at localhost>, "Allan Jacobsen" 
writ
> es:
> 
> >sub vcl_recv {
> >        if (req.http.host ~ "") {
> >                set req.backend = webserver;
> 
> What exactly is the test for here ?  That there isn't a host: header ?
> 
> In that case, try:
> 
> 	if (!req.http.host) {

Actually i have no idea what i am doing, it is just the default file from the 
rpm package, I have just changed the backend server settings.

Best regards
Allan Jacobsen





More information about the varnish-misc mailing list