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 2015/03/30 01:17:13 UTC
svn commit: r1669973 - in /maven/site/trunk/content:
filtered-resources/.htaccess resources/extpaths.txt
Author: hboutemy
Date: Sun Mar 29 23:17:12 2015
New Revision: 1669973
URL: http://svn.apache.org/r1669973
Log:
try a new generic rewrite rule to use /components when content not found: this will avoid creating a rewrite rule for each extpaths.txt line
Modified:
maven/site/trunk/content/filtered-resources/.htaccess
maven/site/trunk/content/resources/extpaths.txt
Modified: maven/site/trunk/content/filtered-resources/.htaccess
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/filtered-resources/.htaccess?rev=1669973&r1=1669972&r2=1669973&view=diff
==============================================================================
--- maven/site/trunk/content/filtered-resources/.htaccess (original)
+++ maven/site/trunk/content/filtered-resources/.htaccess Sun Mar 29 23:17:12 2015
@@ -75,3 +75,9 @@ RedirectMatch ^/maven-1.x/(.*)$ http://m
# test of extpaths.txt replacement
RewriteEngine on
RewriteRule ^core-its-htaccess(.*)$ /components/core-its$1 [L]
+
+# test of generic extpaths.txt replacement: if file is not found in maven-site, look into components
+RewriteCond %{REQUEST_URI} !^/components/
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ /components/$1 [L]
Modified: maven/site/trunk/content/resources/extpaths.txt
URL: http://svn.apache.org/viewvc/maven/site/trunk/content/resources/extpaths.txt?rev=1669973&r1=1669972&r2=1669973&view=diff
==============================================================================
--- maven/site/trunk/content/resources/extpaths.txt (original)
+++ maven/site/trunk/content/resources/extpaths.txt Sun Mar 29 23:17:12 2015
@@ -4,7 +4,7 @@ ant-tasks-archives
archetype
archetype-archives
maven-archetype-bundles
-core-its
+#core-its
enforcer
enforcer-archives
jxr