[master] f93c6fa kill warnings. fix a ref
Per Buer
perbu at varnish-cache.org
Thu Mar 29 11:46:09 CEST 2012
commit f93c6faae2817ef4e55f96359da2ff44d77f30f9
Author: Per Buer <perbu at varnish-software.com>
Date: Thu Mar 29 11:46:04 2012 +0200
kill warnings. fix a ref
diff --git a/doc/sphinx/tutorial/cookies.rst b/doc/sphinx/tutorial/cookies.rst
index 93289c3..88e9d07 100644
--- a/doc/sphinx/tutorial/cookies.rst
+++ b/doc/sphinx/tutorial/cookies.rst
@@ -89,6 +89,6 @@ Cookies coming from the backend
If your backend server sets a cookie using the Set-Cookie header
Varnish will not cache the page. A hit-for-pass object (see
-:ref:`tutorial_vcl_fetch_actions`) is created. So, if the backend
+:ref:`tutorial-vcl_fetch_actions`) is created. So, if the backend
server acts silly and sets unwanted cookies just unset the Set-Cookie
header and all should be fine.
diff --git a/doc/sphinx/tutorial/devicedetection.rst b/doc/sphinx/tutorial/devicedetection.rst
index 9f02493..6bfc4c9 100644
--- a/doc/sphinx/tutorial/devicedetection.rst
+++ b/doc/sphinx/tutorial/devicedetection.rst
@@ -61,6 +61,7 @@ is dependant on this header.
Everything works out of the box from Varnish' perspective.
.. 071-example1-start
+
VCL::
sub vcl_recv {
@@ -95,6 +96,7 @@ VCL::
set resp.http.Vary = regsub(resp.http.Vary, "X-UA-Device", "User-Agent");
}
}
+
.. 071-example1-end
Example 2: Normalize the User-Agent string
@@ -118,6 +120,7 @@ A possible use for this is for CGI scripts where only a small set of predefined
headers are (by default) available for the script.
.. 072-example2-start
+
VCL::
sub vcl_recv {
@@ -158,6 +161,7 @@ The client itself does not see this classification, only the backend request
is changed.
.. 073-example3-start
+
VCL::
sub vcl_recv {
@@ -240,6 +244,7 @@ Redirecting mobile clients
If you want to redirect mobile clients you can use the following snippet.
.. 065-redir-mobile-start
+
VCL::
sub vcl_recv {
diff --git a/doc/sphinx/tutorial/vcl.rst b/doc/sphinx/tutorial/vcl.rst
index da9a340..0601468 100644
--- a/doc/sphinx/tutorial/vcl.rst
+++ b/doc/sphinx/tutorial/vcl.rst
@@ -51,7 +51,6 @@ headers from the backend.
.. _tutorial-vcl_fetch_actions:
-
actions
~~~~~~~
More information about the varnish-commit
mailing list