You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2005/10/10 23:25:21 UTC

svn commit: r312756 - /httpd/httpd/dist/.htaccess

Author: nd
Date: Mon Oct 10 14:25:17 2005
New Revision: 312756

URL: http://svn.apache.org/viewcvs?rev=312756&view=rev
Log:
use RedirectMatch instead of RewriteRule - chances are higher that mod_alias
is installed on the mirrors. Further I'm not sure that the Rules would have
worked correctly in non-root-.htaccess files

Modified:
    httpd/httpd/dist/.htaccess

Modified: httpd/httpd/dist/.htaccess
URL: http://svn.apache.org/viewcvs/httpd/httpd/dist/.htaccess?rev=312756&r1=312755&r2=312756&view=diff
==============================================================================
--- httpd/httpd/dist/.htaccess (original)
+++ httpd/httpd/dist/.htaccess Mon Oct 10 14:25:17 2005
@@ -65,7 +65,7 @@
   AddCharset UTF-8 .txt .html
 </Files>
 
-RewriteRule ^(.*)/Announcement\.(.*)      $1/Announcement1.3.$2 [R]
-RewriteRule ^(.*)/Announcement2\.([th].*) $1/Announcement2.0.$2 [R]
-RewriteRule ^(.*)/Announcement21\.(.*)    $1/Announcement2.1.$2 [R]
+RedirectMatch 301 ^(.*)/Announcement\.(.*)      $1/Announcement1.3.$2
+RedirectMatch 301 ^(.*)/Announcement2\.([th].*) $1/Announcement2.0.$2
+RedirectMatch 301 ^(.*)/Announcement21\.(.*)    $1/Announcement2.1.$2