[Varnish] #298: Generated example default.vcl lacks quotation marks
Varnish
varnish-bugs at projects.linpro.no
Mon Aug 25 13:23:33 CEST 2008
#298: Generated example default.vcl lacks quotation marks
--------------------+-------------------------------------------------------
Reporter: ingvar | Owner: des
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.0 release
Component: build | Version: trunk
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
The generated example default.vcl lacks the needed quotation marks around
the host and port defenitions.
{{{
varnish-cache$ make >/dev/null; head -10 etc/default.vcl | tail -4
#backend default {
#.host = 127.0.0.1;
#.port = 8080;
#}
}}}
The following simple patch may possibly fix this.
{{{
varnish-cache/etc$ svn diff
Index: Makefile.am
===================================================================
--- Makefile.am (revisjon 3120)
+++ Makefile.am (arbeidskopi)
@@ -12,8 +12,8 @@
server.\n\
\n\
backend default {\n\
- .host = "127.0.0.1";\n\
- .port = "8080";\n\
+ .host = \"127.0.0.1\";\n\
+ .port = \"8080\";\n\
}\n\
\n\
Below is a commented-out copy of the default VCL logic. If you\n\
}}}
Ingvar
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/298>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list