[4.0] 212b652 Typo in BAN configuration

Federico G. Schwindt fgsch at lodoss.net
Wed Aug 6 19:29:51 CEST 2014


commit 212b652eddbd3bd95d790444a239f6728e1f2c7d
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Fri Jul 4 17:02:05 2014 +0100

    Typo in BAN configuration
    
    Submitted by:	Clement Gautier via github

diff --git a/doc/sphinx/users-guide/purging.rst b/doc/sphinx/users-guide/purging.rst
index 17b02ee..70fb415 100644
--- a/doc/sphinx/users-guide/purging.rst
+++ b/doc/sphinx/users-guide/purging.rst
@@ -103,7 +103,7 @@ You can also add bans to Varnish via HTTP. Doing so requires a bit of VCL::
 			  return(synth(403, "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