Added a dark mode color scheme.
[WebKit-https.git] / Websites / webkit.org / .htaccess
1 DirectoryIndex index.php index.html
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 %{HTTP_HOST} ^(www\.)(.*)$
17 RewriteRule (.*) https://%2/$1 [L,R=301]
18
19 RewriteCond %{HTTPS} off
20 RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]
21
22 # Old Sunspider versions
23 Redirect 301 /perf/sunspider-0.9/sunspider.html /perf/sunspider/sunspider.html
24 Redirect 301 /perf/sunspider-0.9.1/sunspider.html /perf/sunspider/sunspider.html
25 Redirect 301 /perf/sunspider-0.9.1/versions.html /perf/sunspider/sunspider.html
26 Redirect 301 /perf/sunspider/sunspider.html/ /perf/sunspider/sunspider.html
27
28 # Legacy webkit.org URLs
29 Redirect 301 /asking_questions.html /asking-questions/
30 Redirect 301 /building/build.html /building-webkit/
31 Redirect 301 /building/checkout.html /getting-the-code/
32 Redirect 301 /building/debug-mac-uiprocess.html /debugging-webkit/#debugging-uiprocess
33 Redirect 301 /building/debug.html /debugging-webkit/
34 Redirect 301 /building/run.html /running-webkit/
35 Redirect 301 /building/tools.html /build-tools/
36 Redirect 301 /coding/RefPtr.html /blog/5381/refptr-basics/
37 Redirect 301 /coding/adding-features.html /getting-started/
38 Redirect 301 /coding/assertion-guidelines.html /blog/5397/a-guide-to-assertion-macros-in-webkit/
39 Redirect 301 /coding/bsd-license.html /licensing-webkit/
40 Redirect 301 /coding/coding-style.html /code-style-guidelines/
41 Redirect 301 /coding/commit-review-policy.html /commit-and-review-policy/
42 Redirect 301 /coding/contributing.html /getting-started/
43 Redirect 301 /coding/dom-element-attach.html /
44 Redirect 301 /coding/lgpl-license.html /licensing-webkit/
45 Redirect 301 /coding/major-objects.html /
46 Redirect 301 /coding/scripts.html /script-tools/
47 Redirect 301 /coding/technical-articles.html /blog/
48 Redirect 301 /conference /meeting/
49 Redirect 301 /contact.html /getting-started/#staying-in-touch
50 Redirect 301 /demos/index.html /demo-content/
51 RedirectMatch 301 ^/demos/$ /demo-content/
52 RedirectMatch 301 ^/projects/ /project/
53 Redirect 301 /projects /project/
54 Redirect 301 /quality/bugpriorities.html /bug-prioritization/
55 Redirect 301 /quality/bugwriting.html /bug-report-guidelines/
56 Redirect 301 /quality/bugzilla.html /bugzilla-bits/
57 Redirect 301 /quality/crashlogs.html /getting-a-crash-log/
58 Redirect 301 /quality/leakhunting.html /leak-hunting/
59 Redirect 301 /quality/lifecycle.html /bug-life-cycle/
60 Redirect 301 /quality/reduction.html /test-case-reduction/
61 Redirect 301 /quality/reporting.html /reporting-bugs/
62 Redirect 301 /quality/testing.html /testing-contributions/
63 Redirect 301 /quality/testwriting.html /writing-new-tests/
64 Redirect 301 /security/index.html /security-policy/
65 Redirect 301 /security/security-group-members.html /security-team/
66 Redirect 301 /security/ /security-policy/
67 Redirect 301 /security /security-policy/
68 Redirect 301 /status.html /status/
69 Redirect 301 /team.html /team/
70 Redirect 301 /nightly /downloads/
71 Redirect 301 /features /status/
72 Redirect 301 /css-features /css-features/
73
74 # Old B3 Documentation
75 Redirect 301 /documentation/b3/air/ /docs/b3/assembly-intermediate-representation.html
76 Redirect 301 /documentation/b3/air /docs/b3/assembly-intermediate-representation.html
77 Redirect 301 /documentation/b3/intermediate-representation/ /docs/b3/intermediate-representation.html
78 Redirect 301 /documentation/b3/intermediate-representation /docs/b3/intermediate-representation.html
79 Redirect 301 /documentation/b3 /docs/b3
80
81 # Bugzilla
82
83 RewriteRule ^b/(.*)$ https://bugs.webkit.org/show_bug.cgi?id=$1 [R=301,L,NE]
84 RewriteRule ^reported-by/(.*)$ https://bugs.webkit.org/buglist.cgi?emailreporter1=1&emailtype1=substring&email1=$1&emailassigned_to2=1 [R=301,L,NE]
85 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]
86 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]
87
88 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
89 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
90 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
91 Redirect 301 /regressions https://bugs.webkit.org/buglist.cgi?keywords=Regression&bug_status=NEW&bug_status=UNCONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED
92 Redirect 301 /needs-reduction https://bugs.webkit.org/buglist.cgi?query_format=advanced&keywords=NeedsReduction&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED
93 Redirect 301 /pending-review https://bugs.webkit.org/request.cgi?action=queue&requester=&product=&type=review&requestee=&component=&group=requestee
94 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-
95 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=
96 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=
97 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=
98 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=
99 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=
100 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=
101 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=
102 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=
103 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=
104 Redirect 301 /priority-bugs https://bugs.webkit.org/buglist.cgi?product=WebKit&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&priority=P1
105
106 # Archived webkit.org
107
108 RewriteRule ^css/(.*)$ /old/css/$1 [NC,L]
109 RewriteRule ^images/(.*)$ /old/images/$1 [NC,L]
110
111 # Pixar USD support. Change to model/vnd.usdz+zip once WebKit support is in the wild.
112 AddType model/vnd.pixar.usd usdz
113
114 # BEGIN WordPress
115 <IfModule mod_rewrite.c>
116 RewriteEngine On
117 RewriteBase /
118 RewriteRule ^index\.php$ - [L]
119 RewriteCond %{REQUEST_FILENAME} !-f
120 RewriteCond %{REQUEST_FILENAME} !-d
121 RewriteRule . /index.php [L]
122 </IfModule>
123 # END WordPress