mirror of
https://github.com/boostorg/website.git
synced 2026-01-19 04:42:17 +00:00
18 lines
557 B
ApacheConf
18 lines
557 B
ApacheConf
RewriteEngine On
|
|
RewriteBase /development
|
|
|
|
# Redirect to the canonical URL.
|
|
|
|
RewriteCond %{HTTP_HOST} ^boost\.org [NC]
|
|
RewriteRule ^.*$ http://www\.boost\.org%{REQUEST_URI} [R=301]
|
|
|
|
#~ Locally available regression result archives.
|
|
RewriteRule ^tests$ tests/ [R]
|
|
RewriteRule ^tests/([^/]+)/([^/]+)/$ tests/$1/$2/index.html [R]
|
|
RewriteRule ^tests/(.*)$ testing_results.php/$1 [L]
|
|
|
|
#~ Web site self checks.
|
|
RewriteRule ^webcheck$ webcheck/index.html [R]
|
|
RewriteRule ^webcheck/$ webcheck/index.html [R]
|
|
RewriteRule ^webcheck/(.*)$ webcheck_results.php/$1 [L]
|