Author: hboutemy Date: Sun Nov 19 17:32:25 2017 New Revision: 1815751 URL: http://svn.apache.org/viewvc?rev=1815751&view=rev Log: removed rewrite rules which cause issue with directories without trailing /
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=1815751&r1=1815750&r2=1815751&view=diff ============================================================================== --- maven/site/trunk/content/filtered-resources/.htaccess (original) +++ maven/site/trunk/content/filtered-resources/.htaccess Sun Nov 19 17:32:25 2017 @@ -74,18 +74,3 @@ Redirect Permanent /guides/development/g Redirect Permanent /guides/mini/guide-apt-format.html /doxia/references/apt-format.html RedirectMatch ^/maven-1.x/(.*)$ /archives/maven-1.x/$1 - -# rewrite rules for /components: see http://maven.apache.org/developers/website/ -# should not be useful any more since symlinks have been created in http://svn.apache.org/r1815743 and http://svn.apache.org/r1815745 -RewriteEngine on - -# 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 [C] - -# in case of directory without trailing /, do the redirect or httpd will do a redirect from /foo to /components/foo/ -RewriteCond %{REQUEST_FILENAME} -d -RewriteCond %{REQUEST_URI} !/$ -RewriteRule components/(.*) /$1/ [R]