gnucash-htdocs master: Bug 797340 - https

John Ralls jralls at code.gnucash.org
Sun Aug 11 13:06:35 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/3a3bbf56 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/13c80ed9 (commit)



commit 3a3bbf56ff0c3554ab841e6964945478aac190ec
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Aug 11 10:06:28 2019 -0700

    Bug 797340 - https
    
    Enable rewrites and add an http->https rewrite rule.

diff --git a/.htaccess b/.htaccess
index b80c519..4be5468 100644
--- a/.htaccess
+++ b/.htaccess
@@ -8,6 +8,12 @@ AddType application/x-httpd-php .phtml
 # users will get due to external sites linking
 # to obsolete locations.
 
+# Redirect HTTP to HTTPS:
+RewriteEngine On
+RewriteCond %{SERVER_PORT} 80
+RewriteRule ^(.*)$ https://www.yourdomain.com/$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 | 6 ++++++
 1 file changed, 6 insertions(+)



More information about the gnucash-changes mailing list