Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-12-05 11:31:34


Author: grafik
Date: 2007-12-05 11:31:34 EST (Wed, 05 Dec 2007)
New Revision: 41748
URL: http://svn.boost.org/trac/boost/changeset/41748

Log:
Make the BBv2 docs available from the root "/boost-build2" path.
Text files modified:
   website/public_html/beta/.htaccess | 6 ++++++
   website/public_html/beta/doc/display_build.php | 2 +-
   2 files changed, 7 insertions(+), 1 deletions(-)

Modified: website/public_html/beta/.htaccess
==============================================================================
--- website/public_html/beta/.htaccess (original)
+++ website/public_html/beta/.htaccess 2007-12-05 11:31:34 EST (Wed, 05 Dec 2007)
@@ -13,6 +13,12 @@
 RewriteRule ^users/download/([0-9a-f]{32})$ users/download/entry.php/$1 [L]
 RewriteRule ^users/history/([0-9a-f]{32})$ users/history/entry.php/$1 [L]
 
+########## Rewrites to serve up "sub-projects".
+
+RewriteRule ^boost-build2$ boost-build2/index.html [R]
+RewriteRule ^boost-build2/$ boost-build2/index.html [R]
+RewriteRule ^boost-build2/(.*) doc/display_build.php/boost-build-nightly/boost-build/$1 [L]
+
 ########## Rewrite rules to support the regression test links from the old site.
 
 #~ RewriteRule ^regression/(.+)\.cpp$ http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/$1.cpp?rev=HEAD&content-type=text/vnd.viewcvs-markup [R,L]

Modified: website/public_html/beta/doc/display_build.php
==============================================================================
--- website/public_html/beta/doc/display_build.php (original)
+++ website/public_html/beta/doc/display_build.php 2007-12-05 11:31:34 EST (Wed, 05 Dec 2007)
@@ -2,7 +2,7 @@
 require_once(dirname(__FILE__) . '/../common/code/archive_file.php');
 
 $_file = new archive_file('@^[/]([^/]+)[/](.*)$@',$_SERVER["PATH_INFO"],array(
- array('@^boost-build/index[.]html$@i','boost_libs_html','text/html'),
+ array('@^boost-build/index[.]html$@i','raw','text/html'),
   array('@[.](html|htm)$@i','boost_book_html','text/html')
   ),false,false);
 


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