Fix redirect.
diff --git a/axis2/java/.htaccess b/axis2/java/.htaccess
index 58db17c..228f5c0 100644
--- a/axis2/java/.htaccess
+++ b/axis2/java/.htaccess
@@ -14,7 +14,7 @@
 
 # Since 1.6.4/1.7.0, Axis2 core uses the more standard "apidocs" instead of "api"
 
-Redirect permanent /axis2/java/core/api http://axis.apache.org/axis2/java/core/apidocs/
+RedirectMatch permanent ^/axis2/java/core/api$ http://axis.apache.org/axis2/java/core/apidocs/
 RedirectMatch permanent ^/axis2/java/core/api/(.*)$ http://axis.apache.org/axis2/java/core/apidocs/$1
 
 # Mark very old (Axis 2.0 milestone) links as gone