gnucash-htdocs master: Bug 797340 - https
John Ralls
jralls at code.gnucash.org
Sun Aug 11 13:09:28 EDT 2019
Updated via https://github.com/Gnucash/gnucash-htdocs/commit/cc2fd460 (commit)
from https://github.com/Gnucash/gnucash-htdocs/commit/79e8bea4 (commit)
commit cc2fd4604ab831aa890e74f1d636fc49b337d00d
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Aug 11 10:09:20 2019 -0700
Bug 797340 - https
Enable rewrites and add an http->https rewrite rule.
This time with the right domain.
diff --git a/.htaccess b/.htaccess
index b80c519..a4248a9 100644
--- a/.htaccess
+++ b/.htaccess
@@ -8,6 +8,11 @@ AddType application/x-httpd-php .phtml
# users will get due to external sites linking
# to obsolete locations.
+# Rewrite incoming HTTP to HTTPS
+RewriteEngine On
+RewriteCond %{SERVER_PORT} 80
+RewriteRule ^(.*)$ https://www.gnucash.org/$1 [R,L]
+
# The old website was kept here for historical purposes.
# Any attempt to access it will be redirected to the
# new site's main page.
Summary of changes:
.htaccess | 5 +++++
1 file changed, 5 insertions(+)
More information about the gnucash-changes
mailing list