Author: deepak
Date: Mon Oct 1 08:55:23 2018
New Revision: 1842437
URL:
http://svn.apache.org/viewvc?rev=1842437&view=revLog:
Added http to https redirect rule for ofbiz.apache.org website.
(OFBIZ-10590)
Thanks Ashish, Michael and Sandeep for your contribution
Modified:
ofbiz/site/.htaccess
Modified: ofbiz/site/.htaccess
URL:
http://svn.apache.org/viewvc/ofbiz/site/.htaccess?rev=1842437&r1=1842436&r2=1842437&view=diff==============================================================================
--- ofbiz/site/.htaccess (original)
+++ ofbiz/site/.htaccess Mon Oct 1 08:55:23 2018
@@ -1,4 +1,7 @@
ErrorDocument 404 /404.html
+RewriteCond %{HTTPS} off
+RewriteRule ^\/?(.*)$ <a href="https://%">https://%{HTTP_HOST}/$1 [R=301,L]
+
RewriteRule ^documentation.html /index.html [R=301,NC,L]
RewriteRule ^community.html /getting-involved.html [R=301,NC,L]