This is an automated email from the ASF dual-hosted git repository.

lukaszlenart 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 f8b9e99  Updates redirects
f8b9e99 is described below

commit f8b9e9958f0ed1acfad2eec8567bab571d6f94c9
Author: Lukasz Lenart <lukasz.len...@gmail.com>
AuthorDate: Fri Oct 27 18:27:54 2017 +0200

    Updates redirects
---
 content/.htaccess | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index f8a2f2f..c5d94cc 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,6 +1,14 @@
-# This file is maintained at 
https://git-wip-us.apache.org/repos/asf?p=struts-site.git
-DirectoryIndex index.html home.html
+# This file is maintained at 
https://gitbox.apache.org/repos/asf?p=struts-site.git
+DirectoryIndex index.html
 
-RedirectMatch \/2.*\/docs\/(.*)?    http://struts.apache.org/docs/$1
-RedirectMatch \/release\/2.*\/(.*)? http://struts.apache.org/$1
-RedirectMatch \/2.*\/(.*)?          http://struts.apache.org/$1
+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
+RedirectMatch \/docs\/version\-notes\-21([0-9]{1,2})+\.html   
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.1.$1
+RedirectMatch \/docs\/version\-notes\-20([0-9]{1,2})+\.html   
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.0.$1
+
+RedirectMatch \/docs\/s2-0([0-9]{2}).html                     
https://cwiki.apache.org/confluence/display/WW/Security+Bulletin+S2-0$1
+
+RedirectMatch \/2.*\/docs\/(.*)?                    
http://struts.apache.org/docs/$1
+RedirectMatch \/release\/2.*\/(.*)?                 http://struts.apache.org/$1
+RedirectMatch \/2.*\/(.*)?                          http://struts.apache.org/$1

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" <commits@struts.apache.org>'].

Reply via email to