You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2018/09/10 22:47:23 UTC

svn commit: r1840500 - /spamassassin/site/.htaccess

Author: kmcgrail
Date: Mon Sep 10 22:47:23 2018
New Revision: 1840500

URL: http://svn.apache.org/viewvc?rev=1840500&view=rev
Log:
adding redir to https

Modified:
    spamassassin/site/.htaccess

Modified: spamassassin/site/.htaccess
URL: http://svn.apache.org/viewvc/spamassassin/site/.htaccess?rev=1840500&r1=1840499&r2=1840500&view=diff
==============================================================================
--- spamassassin/site/.htaccess (original)
+++ spamassassin/site/.htaccess Mon Sep 10 22:47:23 2018
@@ -1,6 +1,9 @@
 Redirect /downloads.html http://spamassassin.apache.org/downloads.cgi
 Redirect /favicon.ico http://spamassassin.apache.org/images/favicon.ico
 RewriteEngine On
+RewriteCond %{SERVER_PORT} 80
+RewriteRule ^(.*)$ https://spamassassin.apache.org/$1 [R,L]
+
 RewriteBase /
 RewriteRule ^doc/(.*)$ http://spamassassin.apache.org/full/3.4.x/doc/$1 [R=permanent]
 RewriteRule ^doc.html/(.*)$ http://spamassassin.apache.org/full/3.4.x/doc/$1 [R=permanent]