Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66371 - in website/public_html/live: . doc
From: dnljms_at_[hidden]
Date: 2010-11-03 07:33:18


Author: danieljames
Date: 2010-11-03 07:33:05 EDT (Wed, 03 Nov 2010)
New Revision: 66371
URL: http://svn.boost.org/trac/boost/changeset/66371

Log:
Merge static file use in documentation.
Properties modified:
   website/public_html/live/ (props changed)
Text files modified:
   website/public_html/live/doc/.htaccess | 8 +++++++-
   1 files changed, 7 insertions(+), 1 deletions(-)

Modified: website/public_html/live/doc/.htaccess
==============================================================================
--- website/public_html/live/doc/.htaccess (original)
+++ website/public_html/live/doc/.htaccess 2010-11-03 07:33:05 EDT (Wed, 03 Nov 2010)
@@ -9,10 +9,16 @@
 
 RewriteRule ^html(/.*)?$ libs/release/doc/html$1 [R]
 
-# Always serve up the latest css/image files.
+# Always serve up the latest css/image files in doc/html and doc/src.
 RewriteRule ^libs/[^/]*/doc/(?:html|src)/(.*\.css)$ libs/common/doc/src/$1 [L]
 RewriteRule ^libs/[^/]*/doc/(?:html|src)/images/([^/]*)$ libs/common/doc/src/images/$1 [L]
 
+# Serve some other static files directly from archive
+# Requires an appropriate soft link.
+# RewriteCond %{DOCUMENT_ROOT}/doc/archives -l
+RewriteCond %{DOCUMENT_ROOT}/doc/archives/boost_$1 -f
+RewriteRule ^libs/([0-9_]+/.*\.(?:png|gif|jpg|jpeg|jpe|css|js|pdf|dtd))$ archives/boost_$1 [L]
+
 # Redirect from symbolic names to current versions.
 RewriteRule ^libs/release(/.*)?$ libs/1_44_0$1 [R]
 RewriteRule ^libs/development(/.*)?$ libs/1_44_0$1 [R]


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