This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 39de2c5 Updates production by Jenkins
39de2c5 is described below
commit 39de2c566d28e55334c22754c899dbf504520d52
Author: jenkins <[email protected]>
AuthorDate: Wed Sep 12 08:20:28 2018 +0000
Updates production by Jenkins
---
content/.htaccess | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/content/.htaccess b/content/.htaccess
index 9e224da..1be2f2e 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,6 +1,10 @@
# This file is maintained at
https://gitbox.apache.org/repos/asf?p=struts-site.git
DirectoryIndex index.html
+RewriteEngine On
+RewriteCond %{HTTPS} !=on
+RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
+
RedirectMatch \/docs\/version\-notes\-25([0-9]{1,2})+\.html
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.$1
RedirectMatch \/docs\/version\-notes\-23([0-9]{1,2})+\.html
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.$1
RedirectMatch \/docs\/version\-notes\-22([0-9]{1,2})+\.html
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.$1