Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71683 - website/public_html/beta/doc
From: dnljms_at_[hidden]
Date: 2011-05-02 18:18:39

Author: danieljames
Date: 2011-05-02 18:18:38 EDT (Mon, 02 May 2011)
New Revision: 71683

Website: Reactivate domain redirect for docs.

I forget why I thought this was broken. It works fine on my local server. I
guess it might be something to do with different versions of apache. So I'm
adding the redirect back, without the domain check, so I can try it on the beta

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

Modified: website/public_html/beta/doc/.htaccess
--- website/public_html/beta/doc/.htaccess (original)
+++ website/public_html/beta/doc/.htaccess 2011-05-02 18:18:38 EDT (Mon, 02 May 2011)
@@ -2,10 +2,9 @@
 RewriteBase /doc
 # Redirect to the canonical URL.
-# TODO: I think this is wrong.
-# RewriteCond %{HTTP_HOST} ^boost\.org [NC]
-# RewriteRule ^.*$ http://www\.boost\.org%{REQUEST_URI} [R=301]
+#RewriteCond %{HTTP_HOST} ^(live\.)?boost\.org [NC]
+RewriteRule ^.*$ http://www\.boost\.org%{REQUEST_URI} [R=301]
 RewriteRule ^html(/.*)?$ libs/release/doc/html$1 [R]

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at