You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2012/11/26 16:08:21 UTC
git commit: Added licenses to config examples
Updated Branches:
refs/heads/master 4704d3a5a -> 3af003a71
Added licenses to config examples
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/3af003a7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/3af003a7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/3af003a7
Branch: refs/heads/master
Commit: 3af003a717216d9eaa0083ca4fe60b842a619b97
Parents: 4704d3a
Author: Leif Hedstrom <zw...@apache.org>
Authored: Mon Nov 26 08:08:09 2012 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Mon Nov 26 08:08:09 2012 -0700
----------------------------------------------------------------------
.../header_rewrite/Examples/Force-close | 17 +++++++++++++++
.../header_rewrite/Examples/Regression | 17 +++++++++++++++
.../experimental/header_rewrite/Examples/YCS-EC | 17 +++++++++++++++
.../header_rewrite/header_rewrite.config | 17 +++++++++++++++
4 files changed, 68 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3af003a7/plugins/experimental/header_rewrite/Examples/Force-close
----------------------------------------------------------------------
diff --git a/plugins/experimental/header_rewrite/Examples/Force-close b/plugins/experimental/header_rewrite/Examples/Force-close
index f6e0ab6..cd8fbaf 100644
--- a/plugins/experimental/header_rewrite/Examples/Force-close
+++ b/plugins/experimental/header_rewrite/Examples/Force-close
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
cond %{READ_REQUEST_HDR_HOOK} [AND]
cond %{ACCESS:/url/local/www/html/status.html} [NOT,OR]
cond %{RANDOM:1000} =42
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3af003a7/plugins/experimental/header_rewrite/Examples/Regression
----------------------------------------------------------------------
diff --git a/plugins/experimental/header_rewrite/Examples/Regression b/plugins/experimental/header_rewrite/Examples/Regression
index 86c8d0f..dc1c0f8 100644
--- a/plugins/experimental/header_rewrite/Examples/Regression
+++ b/plugins/experimental/header_rewrite/Examples/Regression
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
cond %{STATUS} =201
set-status 999
set-status-reason "YDoDed again ..."
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3af003a7/plugins/experimental/header_rewrite/Examples/YCS-EC
----------------------------------------------------------------------
diff --git a/plugins/experimental/header_rewrite/Examples/YCS-EC b/plugins/experimental/header_rewrite/Examples/YCS-EC
index 90c3aaa..80b6703 100644
--- a/plugins/experimental/header_rewrite/Examples/YCS-EC
+++ b/plugins/experimental/header_rewrite/Examples/YCS-EC
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# The default hook is INK_HTTP_READ_RESPONSE_HDR_HOOK, so need to specify that
# Remove any cookie/authentication headers from the origin server response
rm-header Set-Cookie
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3af003a7/plugins/experimental/header_rewrite/header_rewrite.config
----------------------------------------------------------------------
diff --git a/plugins/experimental/header_rewrite/header_rewrite.config b/plugins/experimental/header_rewrite/header_rewrite.config
index 8be269a..2b83d1a 100644
--- a/plugins/experimental/header_rewrite/header_rewrite.config
+++ b/plugins/experimental/header_rewrite/header_rewrite.config
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
Operators
---------
rm-header Header matcher