You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ml...@apache.org on 2016/03/28 23:50:38 UTC
trafficserver git commit: Remove "Not implemented" feature,
fix example formatting
Repository: trafficserver
Updated Branches:
refs/heads/master bd645d36d -> 4f1a439ae
Remove "Not implemented" feature, fix example formatting
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4f1a439a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4f1a439a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4f1a439a
Branch: refs/heads/master
Commit: 4f1a439ae713cbe484b31c2938f0c9aede34673e
Parents: bd645d3
Author: Miles Libbey <ml...@apache.org>
Authored: Mon Mar 28 14:41:39 2016 -0700
Committer: Miles Libbey <ml...@apache.org>
Committed: Mon Mar 28 14:42:39 2016 -0700
----------------------------------------------------------------------
doc/admin-guide/plugins/header_rewrite.en.rst | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4f1a439a/doc/admin-guide/plugins/header_rewrite.en.rst
----------------------------------------------------------------------
diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst
index 3d1f23b..1576450 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -437,8 +437,6 @@ Flag Description
AND Indicates that both the current condition and the next must be true.
This is the default behavior for all conditions when no flags are
provided.
-NC Indicates that the condition operand should be matched case-insensitive.
- **Not implemented.**
NOT Inverts the condition.
OR Indicates that either the current condition or the next one must be
true, as contrasted with the default behavior from ``[AND]``.
@@ -971,11 +969,13 @@ possible to accomplish::
Add Cache Control Headers Based on Origin Path
----------------------------------------------
-This rule adds cache control headers to CDN responses based matching the origin path. One provides a max age and the other provides a “no-cache” statement to two different file paths.
+This rule adds cache control headers to CDN responses based matching the origin
+path. One provides a max age and the other provides a “no-cache” statement to
+two different file paths.::
-cond %{SEND_RESPONSE_HDR_HOOK}
-cond %{PATH} /examplepath1/
-add-header Cache-Control "max-age=3600" [L]
-cond %{SEND_RESPONSE_HDR_HOOK}
-cond %{PATH} /examplepath2/examplepath3/.*/
-add-header Cache-Control "no-cache" [L]
+ cond %{SEND_RESPONSE_HDR_HOOK}
+ cond %{PATH} /examplepath1/
+ add-header Cache-Control "max-age=3600" [L]
+ cond %{SEND_RESPONSE_HDR_HOOK}
+ cond %{PATH} /examplepath2/examplepath3/.*/
+ add-header Cache-Control "no-cache" [L]