Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69949 - website/public_html/beta
From: dnljms_at_[hidden]
Date: 2011-03-13 11:25:12


Author: danieljames
Date: 2011-03-13 11:25:10 EDT (Sun, 13 Mar 2011)
New Revision: 69949
URL: http://svn.boost.org/trac/boost/changeset/69949

Log:
Try to fix version redirects.

Text files modified:
   website/public_html/beta/.htaccess | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: website/public_html/beta/.htaccess
==============================================================================
--- website/public_html/beta/.htaccess (original)
+++ website/public_html/beta/.htaccess 2011-03-13 11:25:10 EDT (Sun, 13 Mar 2011)
@@ -28,11 +28,11 @@
 
 ########## Rewrites to serve up dynamic RSS feeds.
 
-RewriteRule ^users/news/(version_[-\w]+)$ users/history/$1 [L,R=301]
-RewriteRule ^users/download/(version_[-\w]+)$ users/history/$1 [L,R=301]
-RewriteRule ^users/news/([-\w]+)$ users/news/$1.html [L]
-RewriteRule ^users/download/([-\w]+)$ users/download/$1.html [L]
-RewriteRule ^users/history/([-\w]+)$ users/history/$1.html [L]
+RewriteRule ^users/news/(version_[-_\w]+)(\.html)?$ users/history/$1.html [L,R=301]
+RewriteRule ^users/download/(version_[-_\w]+)(\.html)?$ users/history/$1.html [L,R=301]
+RewriteRule ^users/news/([-_\w]+)$ users/news/$1.html [L,R=301]
+RewriteRule ^users/download/([-_\w]+)$ users/download/$1.html [L,R=301]
+RewriteRule ^users/history/([-_\w]+)$ users/history/$1.html [L,R=301]
 
 ########## Rewrite rules to support the regression test links from the old site.
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk