[experimental-ims] 01ad19e Fix typos in docs
Geoff Simmons
geoff at varnish-cache.org
Wed Jun 8 14:11:04 CEST 2011
commit 01ad19ef137c99a585cc02d8ae0ec223d55448a9
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Tue Jun 7 14:19:02 2011 +0200
Fix typos in docs
Thanks to Chris Davies for spotting them.
diff --git a/doc/sphinx/tutorial/purging.rst b/doc/sphinx/tutorial/purging.rst
index bd00e49..99f3f77 100644
--- a/doc/sphinx/tutorial/purging.rst
+++ b/doc/sphinx/tutorial/purging.rst
@@ -97,12 +97,12 @@ You can also add bans to Varnish via HTTP. Doing so requires a bit of VCL::
if (!client.ip ~ purge) {
error 405 "Not allowed.";
}
- ban("req.http.host == " req.http.host
- "&& req.url == " req.url);
+ ban("req.http.host == " + req.http.host +
+ "&& req.url == " + req.url);
# Throw a synthetic page so the
# request won't go to the backend.
- error 200 "Ban added"
+ error 200 "Ban added";
}
}
More information about the varnish-commit
mailing list