My intention is to redirect all visitors to https. This doesn't seem to work at all so I have probably made some stupid mistake. I'm a bit short on time this week, but I have made a note and will look at it shortly. It doesn't seem to have any negative impact, and it is anyway only on the staging site for now. Kind regards /Daniel
Den tis 10 aug. 2021 kl 15:11 skrev <dsahlb...@apache.org>: > Author: dsahlberg > Date: Tue Aug 10 13:11:56 2021 > New Revision: 1892176 > > URL: http://svn.apache.org/viewvc?rev=1892176&view=rev > Log: > in site/staging: > > * .htaccess: Add a rewrite rule to redirect http to https. > > Modified: > subversion/site/staging/.htaccess > > Modified: subversion/site/staging/.htaccess > URL: > http://svn.apache.org/viewvc/subversion/site/staging/.htaccess?rev=1892176&r1=1892175&r2=1892176&view=diff > > ============================================================================== > --- subversion/site/staging/.htaccess (original) > +++ subversion/site/staging/.htaccess Tue Aug 10 13:11:56 2021 > @@ -14,3 +14,6 @@ RedirectMatch permanent ^/issue-tracker( > RedirectMatch ^/issue[^A-Za-z0-9]?(\d+)$ > https://issues.apache.org/jira/browse/SVN-$1 > RewriteRule ^/?download(\.html)?/?$ /download.cgi [PT] > > +RewriteCond %{SERVER_PORT} 80 > +RewriteRule ^(.*)$ https://subversion.apache.org/$1 [R,L] > +# Don't add any rules below, since the L flag terminate further > processing > > >