commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1451630 - /commons/cms-site/trunk/content/resources/.htaccess
Date Fri, 01 Mar 2013 16:18:51 GMT
Author: olamy
Date: Fri Mar  1 16:18:50 2013
New Revision: 1451630

URL: http://svn.apache.org/r1451630
Log:
first format not needed as we already have other redirect

Modified:
    commons/cms-site/trunk/content/resources/.htaccess

Modified: commons/cms-site/trunk/content/resources/.htaccess
URL: http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/.htaccess?rev=1451630&r1=1451629&r2=1451630&view=diff
==============================================================================
--- commons/cms-site/trunk/content/resources/.htaccess (original)
+++ commons/cms-site/trunk/content/resources/.htaccess Fri Mar  1 16:18:50 2013
@@ -1,12 +1,6 @@
 #until all sites redeployed
 #Redirect /proper/ http://commons.apache.org/components.html
 
-#javadocs generic redirect a pattern was to use api-release/ or apix.x.x.
-RedirectMatch ^/(.*)/api-release/(.*) /proper/commons-$1/javadocs/api-release/$2
-RedirectMatch ^/(.*)/api(.*)/(.*) /proper/commons-$1/javadocs/api$2/$3
-RedirectMatch /proper/commons-(.*)/api-release/(.*) /proper/commons-$1/javadocs/api-release/$2
-RedirectMatch /proper/commons-(.*)/api(.*)/(.*) /proper/commons-$1/javadocs/api$2/$3
-
 
 # redirect from previous path
 
@@ -73,4 +67,8 @@ RedirectMatch ^/sandbox/nabla(.*) /sandb
 RedirectMatch ^/sandbox/openpgp(.*) /sandbox/commons-openpgp/$1
 RedirectMatch ^/sandbox/performance(.*) /sandbox/commons-performance/$1
 RedirectMatch ^/sandbox/pipeline(.*) /sandbox/commons-pipeline/$1
-RedirectMatch ^/sandbox/privilizer(.*) /sandbox/commons-privilizer/$1
\ No newline at end of file
+RedirectMatch ^/sandbox/privilizer(.*) /sandbox/commons-privilizer/$1
+
+#javadocs generic redirect a pattern was to use api-release/ or apix.x.x.
+RedirectMatch /proper/commons-(.*)/api-release/(.*) /proper/commons-$1/javadocs/api-release/$2
+RedirectMatch /proper/commons-(.*)/api(.*)/(.*) /proper/commons-$1/javadocs/api$2/$3
\ No newline at end of file



Mime
View raw message