forked from whatwg/html
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
86 lines (72 loc) · 2.99 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
AddDefaultCharset utf-8
AddCharset utf-8 .css .js .json
ForceType text/html
DirectoryIndex index index.html
Redirect 301 /complete.html /
Redirect 301 /complete /
Redirect 301 /C /multipage/
Redirect 301 /multipage/entities.json /entities.json
Redirect 301 /multipage/images/ /images/
Redirect 301 /multipage/link-fixup.js /link-fixup.js
ErrorDocument 404 /404.html
<Files print.pdf>
ForceType application/pdf
Header add Content-Disposition "inline; filename=html-standard.pdf"
</Files>
<Files *.svg>
ForceType image/svg+xml
</Files>
<Files *.png>
ForceType image/png
</Files>
<FilesMatch ".+\.(jpe?g)$">
ForceType image/jpeg
</FilesMatch>
<Files *.json>
ForceType application/json
</Files>
<Files *.js>
ForceType application/javascript
</Files>
<Files *.txt>
ForceType text/plain
</Files>
<Files *.css>
ForceType text/css
</Files>
<Files *.html>
ForceType text/html
</Files>
<Files *.ttf>
ForceType application/octet-stream
</Files>
# Previously-generated filenames for /multipage/ that do not redirect via script:
Redirect 301 /multipage/embedded-content-0.html /multipage/embedded-content.html
Redirect 301 /multipage/scripting-1.html /multipage/scripting.html
Redirect 301 /multipage/tabular-data.html /multipage/tables.html
# Previously-generated filenames for /multipage/ that are better to end in a 404 and let redirect
# via script:
# * Redirect 301 /multipage/common-input-element-attributes.html /multipage/forms.html
# * Redirect 301 /multipage/dnd.html /multipage/interaction.html
# * Redirect 301 /multipage/editing.html /multipage/interaction.html
# * Redirect 301 /multipage/edits.html /multipage/semantics.html
# * Redirect 301 /multipage/history.html /multipage/browsers.html
# * Redirect 301 /multipage/links.html /multipage/semantics.html
# * Redirect 301 /multipage/named-character-references.html /multipage/syntax.html
# * Redirect 301 /multipage/offline.html /multipage/browsers.html
# * Redirect 301 /multipage/sections.html /multipage/semantics.html
# * Redirect 301 /multipage/states-of-the-type-attribute.html /multipage/forms.html
# * Redirect 301 /multipage/text-level-semantics.html /multipage/semantics.html
# * Redirect 301 /multipage/the-canvas-element.html /multipage/scripting.html
# * Redirect 301 /multipage/the-end.html /multipage/syntax.html
# * Redirect 301 /multipage/the-iframe-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-input-element.html /multipage/forms.html
# * Redirect 301 /multipage/the-map-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-video-element.html /multipage/embedded-content.html
# * Redirect 301 /multipage/the-xhtml-syntax.html /multipage/xhtml.html
# * Redirect 301 /multipage/tree-construction.html /multipage/syntax.html
# * Redirect 301 /multipage/video.html /multipage/embedded-content.html
# Intentionally deleted previously-generated filenames for /multipage/:
ErrorDocument 410 /multipage/section-sql.html
# Images converted to svg:
Redirect 301 /images/sample-url.png /images/sample-url.svg