[3.0] e6f2b52 Typo in BAN configuration

Federico G. Schwindt fgsch at lodoss.net
Fri Jul 4 18:07:40 CEST 2014


commit e6f2b5260badf2b0f9680b467565f99b4617ee70
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Jul 4 17:06:39 2014 +0100

    Typo in BAN configuration
    
    Submitted by:       Clement Gautier via github

diff --git a/doc/sphinx/tutorial/purging.rst b/doc/sphinx/tutorial/purging.rst
index 422f9f4..dade55d 100644
--- a/doc/sphinx/tutorial/purging.rst
+++ b/doc/sphinx/tutorial/purging.rst
@@ -116,7 +116,7 @@ You can also add bans to Varnish via HTTP. Doing so requires a bit of VCL::
 			  error 405 "Not allowed.";
 		  }
 		  ban("req.http.host == " + req.http.host +
-		        "&& req.url == " + req.url);
+		        " && req.url == " + req.url);
 
 		  # Throw a synthetic page so the
                   # request won't go to the backend.



More information about the varnish-commit mailing list