You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/12/14 04:10:34 UTC

svn commit: r1421647 - /maven/site/trunk/content/filtered-resources/.htaccess

Author: hboutemy
Date: Fri Dec 14 03:10:31 2012
New Revision: 1421647

URL: http://svn.apache.org/viewvc?rev=1421647&view=rev
Log:
try a redirect rule to detect urls in -archives that are not in subdirectories with a version number, so probably caused by wrong relative link

Modified:
    maven/site/trunk/content/filtered-resources/.htaccess

Modified: maven/site/trunk/content/filtered-resources/.htaccess
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/filtered-resources/.htaccess?rev=1421647&r1=1421646&r2=1421647&view=diff
==============================================================================
--- maven/site/trunk/content/filtered-resources/.htaccess (original)
+++ maven/site/trunk/content/filtered-resources/.htaccess Fri Dec 14 03:10:31 2012
@@ -60,7 +60,7 @@ RedirectMatch permanent ^/plugins/maven-
 RedirectMatch permanent ^/shared/maven-plugin-testing-harness/(.*)$ http://maven.apache.org/plugin-testing/maven-plugin-testing-harness/$1
 RedirectMatch permanent ^/shared/maven-plugin-testing-tools/(.*)$ http://maven.apache.org/plugin-testing/maven-plugin-testing-tools/$1
 RedirectMatch permanent ^/shared/maven-plugin-tools/(.*)$ http://maven.apache.org/plugin-tools/$1
-RedirectMatch permanent ^/.+-archives/images/(.*)$ http://maven.apache.org/images/$1
+RedirectMatch permanent ^/[^/]+-archives/([^/\d]+/.*)$ http://maven.apache.org/$1
 
 RedirectMatch permanent ^/plugins/maven-clover-plugin/([^2i].+)$ http://maven.apache.org/plugins/maven-clover-plugin/2.4/$1
 RedirectMatch permanent ^/plugins/maven-clover-plugin/ins(.+)$ http://maven.apache.org/plugins/maven-clover-plugin/2.4/ins$1