Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62007 - website/public_html/live/doc
From: daniel_james_at_[hidden]
Date: 2010-05-15 15:34:26


Author: danieljames
Date: 2010-05-15 15:34:26 EDT (Sat, 15 May 2010)
New Revision: 62007
URL: http://svn.boost.org/trac/boost/changeset/62007

Log:
Don't use php to display the documentation if the file is present.
Text files modified:
   website/public_html/live/doc/.htaccess | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: website/public_html/live/doc/.htaccess
==============================================================================
--- website/public_html/live/doc/.htaccess (original)
+++ website/public_html/live/doc/.htaccess 2010-05-15 15:34:26 EDT (Sat, 15 May 2010)
@@ -19,7 +19,11 @@
 
 # Rewrite specific versions to the dynamic handlers.
 RewriteRule ^libs/([0-9_]+)/?$ libraries.php/$1 [L]
+
+RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^libs/([0-9_]+)/(.+)$ display_libs.php/boost_$1/$2 [L]
+
+RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^libs/?(.*)$ libraries.php$1 [L]
 
 # Handling of tool documentation.


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