[master] b459c8d Typo in BAN configuration

Federico G. Schwindt fgsch at lodoss.net
Fri Jul 4 18:05:45 CEST 2014


commit b459c8d5dd91ca272926a1492267c5ac6f67f2a7
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