You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2023/12/27 08:11:40 UTC

(logging-log4j2) 13/16: Add license to `.htaccess` files

This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit f92076b56b7bec3d764bd3441be27ca856688b03
Author: Piotr P. Karwasz <pi...@karwasz.org>
AuthorDate: Fri Dec 22 15:39:06 2023 +0100

    Add license to `.htaccess` files
---
 src/site/resources/log4j-api/.htaccess  | 18 ++++++++++++++++++
 src/site/resources/log4j-core/.htaccess | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/src/site/resources/log4j-api/.htaccess b/src/site/resources/log4j-api/.htaccess
index dfb7b4c7b7..e62be9eaf7 100644
--- a/src/site/resources/log4j-api/.htaccess
+++ b/src/site/resources/log4j-api/.htaccess
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 RewriteEngine On
 RewriteCond "%{REQUEST_URI}" "^(/log4j/[^/]+)"
 RewriteRule "^apidocs(.*)$" "%1/javadoc/log4j-api$1" [R=permanent]
diff --git a/src/site/resources/log4j-core/.htaccess b/src/site/resources/log4j-core/.htaccess
index cedce8f929..f0401b6179 100644
--- a/src/site/resources/log4j-core/.htaccess
+++ b/src/site/resources/log4j-core/.htaccess
@@ -1,3 +1,21 @@
+#
+# 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.
+#
 RewriteEngine On
 RewriteCond "%{REQUEST_URI}" "^(/log4j/[^/]+)"
 RewriteRule "^apidocs(.*)$" "%1/javadoc/log4j-core$1" [R=permanent]