commons-commits mailing list archives

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

URL: http://svn.apache.org/r1451629
Log:
add javadocs generic redirect a pattern was to use api-release/ or apix.x.x.

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=1451629&r1=1451628&r2=1451629&view=diff
==============================================================================
--- commons/cms-site/trunk/content/resources/.htaccess (original)
+++ commons/cms-site/trunk/content/resources/.htaccess Fri Mar  1 16:17:21 2013
@@ -1,6 +1,13 @@
 #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
 
 #propers



Mime
View raw message