Problem with varnish
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Oct 31 19:17:37 CET 2006
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) {
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list