This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 55246c6 Automatic website deployment
55246c6 is described below
commit 55246c62fc11720b29474773339e79a07517c734
Author: jenkins <[email protected]>
AuthorDate: Tue Dec 18 14:29:46 2018 +0000
Automatic website deployment
---
.htaccess | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index a7d0065..4335e50 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,22 @@
+# 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 %{HTTPS} !=on
+RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
+
# Set UTF-8 for text/plain and text/html
AddDefaultCharset utf-8
@@ -113,4 +132,4 @@ Redirect Permanent /site/webdav.html
/documentation/development/repository-based
Redirect Permanent /site/wiki.html http://s.apache.org/sling.wiki
Redirect Permanent /site/wrap-or-decorate-resources.html
/documentation/the-sling-engine/wrap-or-decorate-resources.html
Redirect Permanent /site/xslt-processing-pipeline.html
/old-stuff/scriptengineintegration/xslt-processing-pipeline.html
-Redirect Permanent /javadoc-io.html /documentation/apidocs.html
\ No newline at end of file
+Redirect Permanent /javadoc-io.html /documentation/apidocs.html