Updated webkit.org to use the new theme and WordPress deployment.
[WebKit.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 %{HTTP_HOST} ^queues.webkit.org$
8 RewriteRule (.*) https://webkit-queues.webkit.org$1 [L,R=301]
9
10 RewriteCond %{HTTP_HOST} ^blog.webkit.org$
11 RewriteRule (.*) https://webkit.org/blog$1 [L,R=301]
12
13 # RewriteCond %{HTTP_HOST} !^webkit.org$
14 # RewriteRule (.*) https://webkit.org$1 [R=301]
15
16 RewriteCond %{HTTPS} off
17 RewriteCond %{HTTP_HOST} ^(www\.)?(.*)$
18 RewriteRule ^(.*)$ https://%2/$1 [L,R=301]
19
20 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
21 RewriteRule .* - [F]
22
23 RewriteRule ^/blog/(.*) https://webkit.org/blog/$1 [L,R=301]
24
25 RewriteRule /b/(.*)$ https://bugs.webkit.org/show_bug.cgi?id=$1 [R=301]
26
27 # Old Sunspider versions
28 Redirect 301 /perf/sunspider-0.9/sunspider.html /perf/sunspider/sunspider.html
29 Redirect 301 /perf/sunspider-0.9.1/sunspider.html /perf/sunspider/sunspider.html
30 Redirect 301 /perf/sunspider-0.9.1/versions.html /perf/sunspider/sunspider.html
31 Redirect 301 /perf/sunspider/sunspider.html/ /perf/sunspider/sunspider.html
32
33 # Legacy webkit.org URLs
34 Redirect 301 /asking_questions.html /asking-questions/
35 Redirect 301 /building/build.html /building-webkit/
36 Redirect 301 /building/checkout.html /getting-the-code/
37 Redirect 301 /building/debug-mac-uiprocess.html /debugging-webkit/#debugging-uiprocess
38 Redirect 301 /building/debug.html /debugging-webkit/
39 Redirect 301 /building/run.html /running-webkit/
40 Redirect 301 /building/tools.html /build-tools/
41 Redirect 301 /coding/RefPtr.html /blog/5381/refptr-basics/
42 Redirect 301 /coding/adding-features.html /getting-started/
43 Redirect 301 /coding/assertion-guidelines.html /blog/5397/a-guide-to-assertion-macros-in-webkit/
44 Redirect 301 /coding/bsd-license.html /licensing-webkit/
45 Redirect 301 /coding/coding-style.html /code-style-guidelines/
46 Redirect 301 /coding/commit-review-policy.html /commit-and-review-policy/
47 Redirect 301 /coding/contributing.html /getting-started/
48 Redirect 301 /coding/dom-element-attach.html /
49 Redirect 301 /coding/lgpl-license.html /licensing-webkit/
50 Redirect 301 /coding/major-objects.html /
51 Redirect 301 /coding/scripts.html /script-tools/
52 Redirect 301 /coding/technical-articles.html /blog/
53 Redirect 301 /conference /meeting/
54 Redirect 301 /contact.html /getting-started/#staying-in-touch
55 Redirect 301 /projects/accessibility/index.html /project/
56 Redirect 301 /projects/cleanup/index.html /project/
57 Redirect 301 /projects/compat/index.html /project/
58 Redirect 301 /projects/css/index.html /project/
59 Redirect 301 /projects/documentation/index.html /project/
60 Redirect 301 /projects/dom/index.html /project/
61 Redirect 301 /projects/editing/index.html /project/
62 Redirect 301 /projects/forms/index.html /project/
63 Redirect 301 /projects/forms/survey.html /project/
64 Redirect 301 /projects/goals.html /project/
65 Redirect 301 /projects/html/index.html /project/
66 Redirect 301 /projects/index.html /project/
67 Redirect 301 /projects/javascript/index.html /project/
68 Redirect 301 /projects/layout/index.html /project/
69 Redirect 301 /projects/mathml/index.html /project/
70 Redirect 301 /projects/performance/index.html /project/
71 Redirect 301 /projects/plugins/index.html /project/
72 Redirect 301 /projects/portability/index.html /project/
73 Redirect 301 /projects/printing/index.html /project/
74 Redirect 301 /projects/svg/index.html /project/
75 Redirect 301 /projects/webkit/index.html /project/
76 Redirect 301 /projects/xml/index.html /project/
77 Redirect 301 /projects/xslt/index.html /project/
78 Redirect 301 /quality/bugpriorities.html /bug-prioritization/
79 Redirect 301 /quality/bugwriting.html /bug-report-guidelines/
80 Redirect 301 /quality/bugzilla.html /bugzilla-bits/
81 Redirect 301 /quality/crashlogs.html /getting-a-crash-log/
82 Redirect 301 /quality/leakhunting.html /leak-hunting/
83 Redirect 301 /quality/lifecycle.html /bug-life-cycle/
84 Redirect 301 /quality/reduction.html /test-case-reduction/
85 Redirect 301 /quality/reporting.html /reporting-bugs/
86 Redirect 301 /quality/testing.html /testing-contributions/
87 Redirect 301 /quality/testwriting.html /writing-new-tests/
88 Redirect 301 /security/index.html /security-policy/
89 Redirect 301 /security/security-group-members.html /security-policy/
90 Redirect 301 /status.html /status/
91 Redirect 301 /team.html /team/
92
93 # Bugzilla
94
95 RewriteRule /reported-by/(.*)$ https://bugs.webkit.org/buglist.cgi?emailreporter1=1&emailtype1=substring&email1=$1&emailassigned_to2=1 [R=301,L,NE]
96 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]
97 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]
98
99 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
100 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
101 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
102 Redirect 301 /regressions$ https://bugs.webkit.org/buglist.cgi?keywords=Regression&bug_status=NEW&bug_status=UNCONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED
103 Redirect 301 /needs-reduction$ https://bugs.webkit.org/buglist.cgi?query_format=advanced&keywords=NeedsReduction&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
104 Redirect 301 /pending-review$ https://bugs.webkit.org/request.cgi?action=queue&requester=&product=&type=review&requestee=&component=&group=requestee
105 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-
106 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=
107 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=
108 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=
109 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=
110 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=
111 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=
112 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=
113 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=
114 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=
115
116
117 # BEGIN WordPress
118 <IfModule mod_rewrite.c>
119 RewriteEngine On
120 RewriteBase /
121 RewriteRule ^index\.php$ - [L]
122 RewriteCond %{REQUEST_FILENAME} !-f
123 RewriteCond %{REQUEST_FILENAME} !-d
124 RewriteRule . /index.php [L]
125 </IfModule>
126 # END WordPress