httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r312742 - /httpd/httpd/dist/.htaccess
Date Mon, 10 Oct 2005 20:58:51 GMT
Author: wrowe
Date: Mon Oct 10 13:58:49 2005
New Revision: 312742

URL: http://svn.apache.org/viewcvs?rev=312742&view=rev
Log:

  We need to map any external references to the -old- Announcement links
  into the new schema.  This gets ugly with respect to external links,
  and the fact that /dist/httpd/ isn't necessarily the RewriteBase on
  an arbitrary patch such as /pub/asf/httpd/ if that's how the mirror
  decided to map us.  So this is the best I could come up with, with the
  help of four of the finest regex/mod_rewrite minds ... feel free to
  prove us wrong, that there is a reliable way to do this better across
  flavors of mod_rewrite from Apache 1.3 through 2.2, shout :)

Modified:
    httpd/httpd/dist/.htaccess

Modified: httpd/httpd/dist/.htaccess
URL: http://svn.apache.org/viewcvs/httpd/httpd/dist/.htaccess?rev=312742&r1=312741&r2=312742&view=diff
==============================================================================
--- httpd/httpd/dist/.htaccess (original)
+++ httpd/httpd/dist/.htaccess Mon Oct 10 13:58:49 2005
@@ -18,9 +18,9 @@
 AddDescription "MSI Installer Package" *.msi
 AddDescription "installation package" *.pkg
 AddDescription "Source code patch" *.patch
-AddDescription "Apache 2.0 Release Note" Announcement2
-AddDescription "Apache 2.1 Release Note" Announcement21
-AddDescription "Apache 1.3 Release Note" Announcement
+AddDescription "Apache 1.3 Release Note" Announcement1.3
+AddDescription "Apache 2.0 Release Note" Announcement2.0
+AddDescription "Apache 2.1 Beta Release Note" Announcement2.1
 AddDescription "compressed sources" apache_1.3.33.tar.Z
 AddDescription "gzipped sources" apache_1.3.33.tar.gz
 AddDescription "win32 build sources" *-win32-x86-src.zip
@@ -28,7 +28,7 @@
 AddDescription "Installer Package" *.exe
 AddDescription "List of changes in 1.3" CHANGES_1.3
 AddDescription "List of changes in 2.0" CHANGES_2.0
-AddDescription "List of changes in 2.1" CHANGES_2.1
+AddDescription "List of changes in 2.1-beta" CHANGES_2.1
 AddDescription "Developer PGP/GPG keys" KEYS
 AddDescription "Binary distributions" binaries
 AddDescription "Contributed software" contrib
@@ -64,3 +64,8 @@
 <Files *.ja>
   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]
+



Mime
View raw message