You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2018/01/27 12:08:17 UTC

svn commit: r1024422 - /websites/production/logging/content/log4cxx/.htaccess

Author: tschoening
Date: Sat Jan 27 12:08:17 2018
New Revision: 1024422

Log:
LOGCXX-497: Redirect HTTP to HTTPS.

Modified:
    websites/production/logging/content/log4cxx/.htaccess

Modified: websites/production/logging/content/log4cxx/.htaccess
==============================================================================
--- websites/production/logging/content/log4cxx/.htaccess (original)
+++ websites/production/logging/content/log4cxx/.htaccess Sat Jan 27 12:08:17 2018
@@ -1,6 +1,9 @@
 <IfModule mod_rewrite.c>
 	RewriteEngine On
 
+	RewriteCond %{HTTPS} !=on
+	RewriteRule ^/?(.*)$ https://%{SERVER_NAME}/$1 [R=temp,L]
+
 	##
 	# Forward old requests to new dir layout.
 	#