2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Move some rewrites into a subdirectory.

These rewrites are rarely used, but get checked for every access. By moving
them into the 'more' subdirectory, they'll only be checked when appropriate.
Slightly more expensive when checked, but should result in a small improvement
for everything else.


[SVN r66375]
This commit is contained in:
Daniel James
2010-11-03 11:50:48 +00:00
parent 6146b2d073
commit 0190991f3a
2 changed files with 44 additions and 40 deletions

View File

@@ -68,45 +68,5 @@ RewriteRule ^status(.*) development/testing.html [R=permanent,L]
RewriteRule ^tools(/.*)?$ doc/tools$1 [R=permanent,L] RewriteRule ^tools(/.*)?$ doc/tools$1 [R=permanent,L]
# The wiki # The wiki
RewriteRule ^wiki/?$ http://svn.boost.org/trac/boost [R,L] RewriteRule ^wiki/?$ http://svn.boost.org/trac/boost [R,L]
# The various extra docs, in more subdir.
RewriteRule ^more/background.html users/index.html [R=permanent,L]
RewriteRule ^more/bibliography.html users/bibliography.html [R=permanent,L]
RewriteRule ^more/bugs.htm support/bugs.html [R=permanent,L]
RewriteRule ^more/count_bdy.htm community/counted_body.html [R=permanent,L]
RewriteRule ^more/cpp_committee_meetings.html community/committee.html [R=permanent,L]
RewriteRule ^more/cvs.html users/download/#repository [R=permanent,L]
RewriteRule ^more/discussion_policy.htm community/policy.html [R=permanent,L]
RewriteRule ^more/error_handling.html community/error_handling.html [R=permanent,L]
RewriteRule ^more/faq.htm users/faq.html [R=permanent,L]
RewriteRule ^more/feature_model_diagrams.html? community/feature_model_diagrams.html [R=permanent,L]
RewriteRule ^more/formal_review_process.htm community/reviews.html [R=permanent,L]
RewriteRule ^more/formal_review_schedule.html community/review_schedule.html [R=permanent,L]
RewriteRule ^more/generic_exception_safety.html community/exception_safety.html [R=permanent,L]
RewriteRule ^more/generic_programming.html community/generic_programming.html [R=permanent,L]
RewriteRule ^more/getting_started/(.*) doc/libs/release/more/getting_started/$1 [R=permanent,L]
RewriteRule ^more/getting_started(\.html)? doc/libs/release/more/getting_started/index.html [R=permanent,L]
RewriteRule ^more/headers?.htm development/header.html [R=permanent,L]
RewriteRule ^more/imp_vars.htm community/implementation_variations.html [R=permanent,L]
RewriteRule ^more/int_const_guidelines.htm development/int_const_guidelines.html [R=permanent,L]
RewriteRule ^more/lib_guide.htm development/requirements.html [R=permanent,L]
RewriteRule ^more/library_reuse.htm development/reuse.html [R=permanent,L]
RewriteRule ^more/license_info.html users/license.html [R=permanent,L]
RewriteRule ^more/links.htm community/cpp.html [R=permanent,L]
RewriteRule ^more/mailing_lists.htm community/groups.html [R=permanent,L]
RewriteRule ^more/moderators.html community/moderators.html [R=permanent,L]
RewriteRule ^more/proposal.pdf users/proposal.pdf [R=permanent,L]
RewriteRule ^more/regression.html development/testing.html [R=permanent,L]
RewriteRule ^more/release_mgr_checklist.html http://svn.boost.org/trac/boost/wiki/ReleasePractices/ManagerCheckList [R,L]
RewriteRule ^more/release_procedures.htm http://svn.boost.org/trac/boost/wiki/ReleasePractices/Procedures [R,L]
RewriteRule ^more/report-apr-2006.html development/report-apr-2006.html [R=permanent,L]
RewriteRule ^more/report-jan-2006.html development/report-jan-2006.html [R=permanent,L]
RewriteRule ^more/requesting_new_features.htm community/requests.html [R=permanent,L]
RewriteRule ^more/separate_compilation.html development/separate_compilation.html [R=permanent,L]
RewriteRule ^more/submission_process.htm development/submissions.html [R=permanent,L]
RewriteRule ^more/test_policy.htm development/test.html [R=permanent,L]
RewriteRule ^more/updating_the_website.html development/website_updating.html [R=permanent,L]
RewriteRule ^more/version_history.html users/history/ [R=permanent,L]
RewriteRule ^more/writingdoc/(.*) doc/libs/release/more/writingdoc/$1 [R=permanent,L]
RewriteRule ^more(/.*)?$ users/index.html [R=permanent,L]
# The license file. (This link was never correct, but it's common enough to require a redirect). # The license file. (This link was never correct, but it's common enough to require a redirect).
RewriteRule ^LICENSE-1.0$ LICENSE_1_0.txt [R=permanent,L] RewriteRule ^LICENSE-1.0$ LICENSE_1_0.txt [R=permanent,L]

44
more/.htaccess Normal file
View File

@@ -0,0 +1,44 @@
# Various extra docs, from more subdir on old site.
RewriteEngine On
RewriteBase /
RewriteRule ^background.html users/index.html [R=permanent,L]
RewriteRule ^bibliography.html users/bibliography.html [R=permanent,L]
RewriteRule ^bugs.htm support/bugs.html [R=permanent,L]
RewriteRule ^count_bdy.htm community/counted_body.html [R=permanent,L]
RewriteRule ^cpp_committee_meetings.html community/committee.html [R=permanent,L]
RewriteRule ^cvs.html users/download/#repository [R=permanent,L]
RewriteRule ^discussion_policy.htm community/policy.html [R=permanent,L]
RewriteRule ^error_handling.html community/error_handling.html [R=permanent,L]
RewriteRule ^faq.htm users/faq.html [R=permanent,L]
RewriteRule ^feature_model_diagrams.html? community/feature_model_diagrams.html [R=permanent,L]
RewriteRule ^formal_review_process.htm community/reviews.html [R=permanent,L]
RewriteRule ^formal_review_schedule.html community/review_schedule.html [R=permanent,L]
RewriteRule ^generic_exception_safety.html community/exception_safety.html [R=permanent,L]
RewriteRule ^generic_programming.html community/generic_programming.html [R=permanent,L]
RewriteRule ^getting_started/(.*) doc/libs/release/more/getting_started/$1 [R=permanent,L]
RewriteRule ^getting_started(\.html)? doc/libs/release/more/getting_started/index.html [R=permanent,L]
RewriteRule ^headers?.htm development/header.html [R=permanent,L]
RewriteRule ^imp_vars.htm community/implementation_variations.html [R=permanent,L]
RewriteRule ^int_const_guidelines.htm development/int_const_guidelines.html [R=permanent,L]
RewriteRule ^lib_guide.htm development/requirements.html [R=permanent,L]
RewriteRule ^library_reuse.htm development/reuse.html [R=permanent,L]
RewriteRule ^license_info.html users/license.html [R=permanent,L]
RewriteRule ^links.htm community/cpp.html [R=permanent,L]
RewriteRule ^mailing_lists.htm community/groups.html [R=permanent,L]
RewriteRule ^moderators.html community/moderators.html [R=permanent,L]
RewriteRule ^proposal.pdf users/proposal.pdf [R=permanent,L]
RewriteRule ^regression.html development/testing.html [R=permanent,L]
RewriteRule ^release_mgr_checklist.html http://svn.boost.org/trac/boost/wiki/ReleasePractices/ManagerCheckList [R,L]
RewriteRule ^release_procedures.htm http://svn.boost.org/trac/boost/wiki/ReleasePractices/Procedures [R,L]
RewriteRule ^report-apr-2006.html development/report-apr-2006.html [R=permanent,L]
RewriteRule ^report-jan-2006.html development/report-jan-2006.html [R=permanent,L]
RewriteRule ^requesting_new_features.htm community/requests.html [R=permanent,L]
RewriteRule ^separate_compilation.html development/separate_compilation.html [R=permanent,L]
RewriteRule ^submission_process.htm development/submissions.html [R=permanent,L]
RewriteRule ^test_policy.htm development/test.html [R=permanent,L]
RewriteRule ^updating_the_website.html development/website_updating.html [R=permanent,L]
RewriteRule ^version_history.html users/history/ [R=permanent,L]
RewriteRule ^writingdoc/(.*) doc/libs/release/more/writingdoc/$1 [R=permanent,L]
RewriteRule ^ users/index.html [R=permanent,L]