[master] 6587c5d Fix typo in example
    Tollef Fog Heen 
    tfheen at varnish-cache.org
       
    Thu Mar  3 20:30:19 CET 2011
    
    
  
commit 6587c5d5c7033a92cecdea4f8ade3eae74346ad0
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Thu Mar 3 20:30:01 2011 +0100
    Fix typo in example
diff --git a/doc/sphinx/tutorial/vcl.rst b/doc/sphinx/tutorial/vcl.rst
index 9a65466..7e5d4aa 100644
--- a/doc/sphinx/tutorial/vcl.rst
+++ b/doc/sphinx/tutorial/vcl.rst
@@ -152,7 +152,7 @@ Here we override the TTL of a object comming from the backend if it
 matches certain criteria:::
 
   sub vcl_fetch {
-     if (beresp.url ~ "\.(png|gif|jpg)$") {
+     if (req.url ~ "\.(png|gif|jpg)$") {
        unset beresp.http.set-cookie;
        set beresp.ttl = 3600;
     }
    
    
More information about the varnish-commit
mailing list