Yet another attempt to fix the http blog redirects.
[WebKit-https.git] / Websites / webkit.org / .htaccess
1 DirectoryIndex index.php
2 AddType application/x-httpd-php html
3 AddType text/cache-manifest manifest
4
5 RewriteRule .*\.svn.* - [F]
6
7 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
8 RewriteRule .* - [F]
9
10 RewriteCond %{HTTP_HOST} ^queues.webkit.org$
11 RewriteRule (.*) https://webkit-queues.webkit.org/$1 [L,R=301]
12
13 RewriteCond %{HTTP_HOST} ^blog.webkit.org$
14 RewriteRule (.*) https://webkit.org/blog/$1 [L,R=301]
15
16 RewriteCond %{HTTPS} off
17 RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$
18 RewriteRule (.*) https://%2/$1 [L,R=301]
19
20 # Old Sunspider versions
21 Redirect 301 /perf/sunspider-0.9/sunspider.html /perf/sunspider/sunspider.html
22 Redirect 301 /perf/sunspider-0.9.1/sunspider.html /perf/sunspider/sunspider.html
23 Redirect 301 /perf/sunspider-0.9.1/versions.html /perf/sunspider/sunspider.html
24 Redirect 301 /perf/sunspider/sunspider.html/ /perf/sunspider/sunspider.html
25
26 # Legacy webkit.org URLs
27 Redirect 301 /asking_questions.html /asking-questions/
28 Redirect 301 /building/build.html /building-webkit/
29 Redirect 301 /building/checkout.html /getting-the-code/
30 Redirect 301 /building/debug-mac-uiprocess.html /debugging-webkit/#debugging-uiprocess
31 Redirect 301 /building/debug.html /debugging-webkit/
32 Redirect 301 /building/run.html /running-webkit/
33 Redirect 301 /building/tools.html /build-tools/
34 Redirect 301 /coding/RefPtr.html /blog/5381/refptr-basics/
35 Redirect 301 /coding/adding-features.html /getting-started/
36 Redirect 301 /coding/assertion-guidelines.html /blog/5397/a-guide-to-assertion-macros-in-webkit/
37 Redirect 301 /coding/bsd-license.html /licensing-webkit/
38 Redirect 301 /coding/coding-style.html /code-style-guidelines/
39 Redirect 301 /coding/commit-review-policy.html /commit-and-review-policy/
40 Redirect 301 /coding/contributing.html /getting-started/
41 Redirect 301 /coding/dom-element-attach.html /
42 Redirect 301 /coding/lgpl-license.html /licensing-webkit/
43 Redirect 301 /coding/major-objects.html /
44 Redirect 301 /coding/scripts.html /script-tools/
45 Redirect 301 /coding/technical-articles.html /blog/
46 Redirect 301 /conference /meeting/
47 Redirect 301 /contact.html /getting-started/#staying-in-touch
48 Redirect 301 /demos/index.html /demo-content/
49 RedirectMatch 301 ^/demos/$ /demo-content/
50 RedirectMatch 301 ^/projects/ /project/
51 Redirect 301 /projects /project/
52 Redirect 301 /quality/bugpriorities.html /bug-prioritization/
53 Redirect 301 /quality/bugwriting.html /bug-report-guidelines/
54 Redirect 301 /quality/bugzilla.html /bugzilla-bits/
55 Redirect 301 /quality/crashlogs.html /getting-a-crash-log/
56 Redirect 301 /quality/leakhunting.html /leak-hunting/
57 Redirect 301 /quality/lifecycle.html /bug-life-cycle/
58 Redirect 301 /quality/reduction.html /test-case-reduction/
59 Redirect 301 /quality/reporting.html /reporting-bugs/
60 Redirect 301 /quality/testing.html /testing-contributions/
61 Redirect 301 /quality/testwriting.html /writing-new-tests/
62 Redirect 301 /security/index.html /security-policy/
63 Redirect 301 /security/security-group-members.html /security-policy/
64 Redirect 301 /security/ /security-policy/
65 Redirect 301 /security /security-policy/
66 Redirect 301 /status.html /status/
67 Redirect 301 /team.html /team/
68
69 # Bugzilla
70
71 RewriteRule ^b/(.*)$ https://bugs.webkit.org/show_bug.cgi?id=$1 [R=301,L,NE]
72 RewriteRule ^reported-by/(.*)$ https://bugs.webkit.org/buglist.cgi?emailreporter1=1&emailtype1=substring&email1=$1&emailassigned_to2=1 [R=301,L,NE]
73 RewriteRule ^recently-resolved/(\d+(w|d))$ https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=$1&chfieldto=Now&chfield=bug_status&chfieldvalue=resolved&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= [R=301,L,NE]
74 RewriteRule ^new-bugs/(\d+(w|d))$ https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=$1&chfieldto=Now&chfield=\%5BBug+creation\%5D&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= [R=301,L]
75
76 Redirect 301 /new-bug https://bugs.webkit.org/enter_bug.cgi?product=WebKit&version=528%2B%20(Nightly%20build)&component=New%20Bugs&bug_severity=Normal&cc=&bug_file_loc=http%3A%2F%2F&short_desc=&comment=&commentprivacy=0&dependson=&blocked=&maketemplate=Remember%20values%20as%20bookmarkable%20template&form_name=enter_bug
77 Redirect 301 /new-ax-bug https://bugs.webkit.org/enter_bug.cgi?product=WebKit&component=Accessibility&op_sys=All&rep_platform=All&short_desc=AX%3A%20
78 Redirect 301 /new-inspector-bug https://bugs.webkit.org/enter_bug.cgi?product=WebKit&component=Web%20Inspector&op_sys=All&rep_platform=All&short_desc=Web%20Inspector%3A%20
79 Redirect 301 /regressions https://bugs.webkit.org/buglist.cgi?keywords=Regression&bug_status=NEW&bug_status=UNCONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED
80 Redirect 301 /needs-reduction https://bugs.webkit.org/buglist.cgi?query_format=advanced&keywords=NeedsReduction&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
81 Redirect 301 /pending-review https://bugs.webkit.org/request.cgi?action=queue&requester=&product=&type=review&requestee=&component=&group=requestee
82 Redirect 301 /review-denied https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=review-
83 Redirect 301 /pending-commit https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=notregexp&short_desc=%5C%5BS60%5C%5D&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=flagtypes.name&type0-0-0=equals&value0-0-0=review%2B&field0-1-0=noop&type0-1-0=equals&value0-1-0=
84 Redirect 301 /unconfirmed-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=UNCONFIRMED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
85 Redirect 301 /crashing-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=crash&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
86 Redirect 301 /confirmed-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
87 Redirect 301 /unassigned-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=NEW&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
88 Redirect 301 /no-keywords https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=nowords&keywords=HasReduction+NeedsReduction&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
89 Redirect 301 /recently-resolved https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=1d&chfieldto=Now&chfield=bug_status&chfieldvalue=resolved&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
90 Redirect 301 /new-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=1d&chfieldto=Now&chfield=%5BBug+creation%5D&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
91 Redirect 301 /svg-bugs https://bugs.webkit.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&component=SVG&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=
92
93
94 # BEGIN WordPress
95 <IfModule mod_rewrite.c>
96 RewriteEngine On
97 RewriteBase /
98 RewriteRule ^index\.php$ - [L]
99 RewriteCond %{REQUEST_FILENAME} !-f
100 RewriteCond %{REQUEST_FILENAME} !-d
101 RewriteRule . /index.php [L]
102 </IfModule>
103 # END WordPress