diff --git a/.gitattributes b/.gitattributes index ec828ecdff9..424abcc99f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,5 @@ -.htaccess text eol=lf source text eol=lf diff=html linguist-language=HTML -*.cgi text eol=lf *.css text eol=lf *.html text eol=lf *.js text eol=lf diff --git a/.htaccess b/.htaccess deleted file mode 100644 index 03225eab321..00000000000 --- a/.htaccess +++ /dev/null @@ -1,60 +0,0 @@ -AddDefaultCharset utf-8 -AddCharset utf-8 .css .js .json -Redirect 301 /complete.html / -Redirect 301 /complete / -Redirect 301 /index / -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 -Redirect 301 /demos/offline/clock/clock.html /demos/offline/clock/clock2.html -ErrorDocument 404 /404.html - - - Header add Content-Disposition "inline; filename=html-standard.pdf" - - -# 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/: -Redirect 410 /multipage/section-sql.html - -# Images for now-deleted features -Redirect 410 /images/contextmenu-collapsed.png -Redirect 410 /images/contextmenu-expanded.png - -# Images converted to svg: -Redirect 301 /images/content-venn.png /images/content-venn.svg -Redirect 301 /images/parsing-model-overview.png /images/parsing-model-overview.svg -Redirect 301 /images/sample-email-1.png /images/sample-email-1.svg -Redirect 301 /images/sample-email-2.png /images/sample-email-2.svg -Redirect 301 /images/sample-url.png /images/sample-url.svg - -# Deleted demo using CGI: -RedirectMatch 301 ^/(demos/workers/stocks/.*)$ https://github.com/whatwg/html/tree/1332efd5e4c27ae859bf2316c6b477d77cf93716/$1 diff --git a/fonts/.htaccess b/fonts/.htaccess deleted file mode 100644 index e315674a391..00000000000 --- a/fonts/.htaccess +++ /dev/null @@ -1,3 +0,0 @@ -ExpiresActive on -ExpiresDefault A6048000 -Header set Cache-Control "public" diff --git a/images/.htaccess b/images/.htaccess deleted file mode 100644 index 77d07d0bf52..00000000000 --- a/images/.htaccess +++ /dev/null @@ -1,3 +0,0 @@ -ExpiresActive on -ExpiresDefault A604800 -Header set Cache-Control "public"