mirror of
https://github.com/boostorg/website.git
synced 2026-01-31 08:42:24 +00:00
Redirect boost.org => www.boost.org, so that there is a cannonical URL.
(This won't have any real effect until it's merged into live). [SVN r44583]
This commit is contained in:
@@ -7,6 +7,11 @@ DirectoryIndex index.php index.shtml index.html
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
########## Redirect to the canonical URL.
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^boost\.org [NC]
|
||||
RewriteRule ^.*$ http://www\.boost\.org%{REQUEST_URI} [R=301]
|
||||
|
||||
########## Rewrites to serve up dynamic RSS feeds.
|
||||
|
||||
RewriteRule ^users/news/([-\w]+)$ users/news/entry.php/$1 [L]
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
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]
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
RewriteEngine On
|
||||
RewriteBase /doc
|
||||
|
||||
# Redirect to the canonical URL.
|
||||
|
||||
RewriteCond %{HTTP_HOST} ^boost\.org [NC]
|
||||
RewriteRule ^.*$ http://www\.boost\.org%{REQUEST_URI} [R=301]
|
||||
|
||||
#~ RewriteRule ^wiki$ wiki/ [R]
|
||||
#~ RewriteRule ^wiki/(.*)$ wiki.php/$1 [L]
|
||||
RewriteRule ^html(/.*)?$ libs/release/doc/html$1 [R]
|
||||
|
||||
Reference in New Issue
Block a user