Author: veithen
Date: Mon Nov 22 21:03:28 2010
New Revision: 1037889
URL: http://svn.apache.org/viewvc?rev=1037889&view=rev
Log:
Some more fixes to the redirects for the Axis2 sites.
Modified:
axis/axis2/java/site/.htaccess
Modified: axis/axis2/java/site/.htaccess
URL:
http://svn.apache.org/viewvc/axis/axis2/java/site/.htaccess?rev=1037889&r1=1037888&r2=1037889&view=diff
==============================================================================
--- axis/axis2/java/site/.htaccess (original)
+++ axis/axis2/java/site/.htaccess Mon Nov 22 21:03:28 2010
@@ -1,8 +1,14 @@
+# None of the Maven generated site uses MultiViews and this features doesn't
interact very well with the redirect
+# for the Axis2 download pages (because it interprets
/axis2/java/core/download as an alias of /axis2/java/core/download.html)
+
+Options -MultiViews
+
# Up to release 1.5.1, we kept the documents from previous releases. We don't
do that
# anymore, but we should redirect links for these documents.
RedirectMatch permanent ^/axis2/java/core/[0-9_]+/api/(.*)$
http://axis.apache.org/axis2/java/core/api/$1
-RedirectMatch permanent
^/axis2/java/core/[0-9_]+/((adb/|images/|jibx/|src/)?[^/]*)$
http://axis.apache.org/axis2/java/core/docs/$1
+RedirectMatch permanent ^/axis2/java/core/[0-9_]+/([^/]*)$
http://axis.apache.org/axis2/java/core/docs/$1
+RedirectMatch permanent ^/axis2/java/core/[0-9_]+/((adb|images|jibx|src)/.*)$
http://axis.apache.org/axis2/java/core/docs/$1
RedirectMatch permanent ^/axis2/java/core/tools/[0-9_]+/(.*)$
http://axis.apache.org/axis2/java/core/tools/$1
RedirectMatch permanent ^/axis2/java/core/download/([0-9_]+)/download\.cgi$
http://axis.apache.org/axis2/java/core/download.cgi#a$1