You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2020/10/29 18:03:28 UTC

[openoffice-org] branch main updated: more .htaccess adjustments - try rewrite again

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

wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f013fe  more .htaccess adjustments - try rewrite again
4f013fe is described below

commit 4f013fefad667c277607c0d62262456a4b145932
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Thu Oct 29 11:03:21 2020 -0700

    more .htaccess adjustments - try rewrite again
---
 assets/.htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/assets/.htaccess b/assets/.htaccess
index d49d514..ee070fc 100644
--- a/assets/.htaccess
+++ b/assets/.htaccess
@@ -1,3 +1,6 @@
 Options +Includes
 AddOutputFilter INCLUDES .html
 AddOutputFilter INCLUDES .htm
+RewriteEngine On
+RewriteCond %{HTTPS} off
+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]