Repository: struts-site Updated Branches: refs/heads/master f03d9a7c3 -> ff4151d87
Cleans up and updates redirects Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/ff4151d8 Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/ff4151d8 Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/ff4151d8 Branch: refs/heads/master Commit: ff4151d87e6f2f4507828d37719f760c316b922f Parents: f03d9a7 Author: Lukasz Lenart <lukasz.len...@gmail.com> Authored: Thu Feb 12 08:00:10 2015 +0100 Committer: Lukasz Lenart <lukasz.len...@gmail.com> Committed: Thu Feb 12 08:00:10 2015 +0100 ---------------------------------------------------------------------- source/.htaccess | 82 ++++----------------------------------------------- 1 file changed, 6 insertions(+), 76 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts-site/blob/ff4151d8/source/.htaccess ---------------------------------------------------------------------- diff --git a/source/.htaccess b/source/.htaccess index fdd8626..d874597 100644 --- a/source/.htaccess +++ b/source/.htaccess @@ -1,76 +1,6 @@ -# This file is maintained at site/trunk/content/resources/.htaccess -Redirect permanent /icons http://www.apache.org/icons -Redirect permanent /userGuide http://struts.apache.org/1.x/userGuide -Redirect permanent /faqs http://struts.apache.org/1.x/faqs -Redirect permanent /struts-core http://struts.apache.org/1.x -Redirect permanent /faces http://struts.apache.org/1.x/struts-faces -Redirect permanent /struts-faces http://struts.apache.org/1.x/struts-faces -Redirect permanent /bsf http://struts.apache.org/1.x/struts-scripting -Redirect permanent /struts-bsf http://struts.apache.org/1.x/struts-scripting -Redirect permanent /struts-scripting http://struts.apache.org/1.x/struts-scripting -Redirect permanent /struts-plugins http://struts.apache.org/1.x/struts-extras -Redirect permanent /struts-extras http://struts.apache.org/1.x/struts-extras -Redirect permanent /struts-taglib http://struts.apache.org/1.x/struts-taglib -Redirect permanent /struts-el http://struts.apache.org/1.x/struts-el -Redirect permanent /struts-tiles http://struts.apache.org/1.x/struts-tiles -Redirect permanent /learning.html http://struts.apache.org/1.x/learning.html -Redirect permanent /using.html http://struts.apache.org/1.x/userGuide/index.html -Redirect permanent /shale http://shale.apache.org -Redirect permanent /struts-shale http://shale.apache.org -Redirect permanent /flow http://struts.apache.org/struts-sandbox/struts-flow -Redirect permanent /struts-flow http://struts.apache.org/struts-sandbox/struts-flow -Redirect permanent /struts-apps http://struts.apache.org/1.x/struts-apps -Redirect permanent /struts-action http://struts.apache.org/1.x -Redirect permanent /struts-action2 http://struts.apache.org/2.x -Redirect permanent /2.0 http://struts.apache.org/2.x -Redirect permanent /struts-doc-1.2.x http://struts.apache.org/1.2.x -Redirect permanent /struts-doc-1.2.9 http://struts.apache.org/1.2.9 -Redirect permanent /struts-doc-1.2.8 http://struts.apache.org/1.2.8 -Redirect permanent /struts-doc-1.2.7 http://struts.apache.org/1.2.7 -Redirect permanent /struts-doc-1.2.4 http://struts.apache.org/1.2.4 -Redirect permanent /struts-doc-1.1 http://struts.apache.org/1.1 -Redirect permanent /struts-doc-1.0.2 http://struts.apache.org/1.0.2 -Redirect permanent /struts-action http://struts.apache.org/1.x -Redirect permanent /struts-action2 http://struts.apache.org/2.x -Redirect permanent /WW http://struts.apache.org/2.x/docs -Redirect permanent /style http://struts.apache.org/css -Redirect permanent /2.x http://struts.apache.org/development/2.x -Redirect permanent /1.x http://struts.apache.org/development/1.x -Redirect permanent /2.3.15.1 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.15 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.14.3 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.14.2 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.14.1 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.14 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.12 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.8 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.7 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.4.1 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.4 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.3 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.1.2 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.1.1 http://struts.apache.org/release/2.3.x -Redirect permanent /2.3.1 http://struts.apache.org/release/2.3.x -Redirect permanent /2.2.3.1 http://struts.apache.org/release/2.2.x -Redirect permanent /2.2.3 http://struts.apache.org/release/2.2.x -Redirect permanent /2.2.2.1 http://struts.apache.org/release/2.2.x -Redirect permanent /2.2.1 http://struts.apache.org/release/2.2.x -Redirect permanent /2.1.8.1 http://struts.apache.org/release/2.1.x -Redirect permanent /2.1.8 http://struts.apache.org/release/2.1.x -Redirect permanent /2.1.6 http://struts.apache.org/release/2.1.x -Redirect permanent /2.0.14 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.12 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.11.2 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.11.1 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.11 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.9 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.8 http://struts.apache.org/release/2.0.x -Redirect permanent /2.0.6 http://struts.apache.org/release/2.0.x -Redirect permanent /1.3.8 http://struts.apache.org/release/1.3.x -Redirect permanent /1.3.5 http://struts.apache.org/release/1.3.x -Redirect permanent /1.2.9 http://struts.apache.org/release/1.2.x -Redirect permanent /1.2.8 http://struts.apache.org/release/1.2.x -Redirect permanent /1.2.7 http://struts.apache.org/release/1.2.x -Redirect permanent /1.2.4 http://struts.apache.org/release/1.2.x -Redirect permanent /1.1 http://struts.apache.org/release/1.x -Redirect permanent /1.0.2 http://struts.apache.org/release/1.x \ No newline at end of file +# This file is maintained at https://git-wip-us.apache.org/repos/asf?p=struts-site.git +DirectoryIndex index.html /docs/home.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