From 928a87b46ed790c5ea86e2ea52056f413f0a0cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 15 Dec 2017 14:20:02 +0100 Subject: [PATCH] Remove Apache .htaccess files This is cleanup for https://github.com/whatwg/misc-server/issues/7 --- resources.whatwg.org/.htaccess | 4 - resources.whatwg.org/fonts/.htaccess | 1 - whatwg.org/.htaccess | 105 ------------------ whatwg.org/demos/autofill/.htaccess | 1 - whatwg.org/specs/web-forms/.htaccess | 1 - .../2004-06-27-call-for-comments/.htaccess | 13 --- .../2004-12-10-call-for-comments/.htaccess | 9 -- .../2005-01-28-call-for-comments/.htaccess | 9 -- .../web-forms/2005-02-07-submission/.htaccess | 13 --- .../2005-04-11-call-for-comments/.htaccess | 9 -- .../specs/web-forms/2005-07-03/.htaccess | 9 -- .../specs/web-forms/2005-09-01/.htaccess | 9 -- .../specs/web-forms/current-work/.htaccess | 9 -- whatwg.org/style/.htaccess | 4 - 14 files changed, 196 deletions(-) delete mode 100644 resources.whatwg.org/.htaccess delete mode 100644 resources.whatwg.org/fonts/.htaccess delete mode 100644 whatwg.org/.htaccess delete mode 100644 whatwg.org/demos/autofill/.htaccess delete mode 100644 whatwg.org/specs/web-forms/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2004-06-27-call-for-comments/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2004-12-10-call-for-comments/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2005-01-28-call-for-comments/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2005-02-07-submission/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2005-04-11-call-for-comments/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2005-07-03/.htaccess delete mode 100644 whatwg.org/specs/web-forms/2005-09-01/.htaccess delete mode 100644 whatwg.org/specs/web-forms/current-work/.htaccess delete mode 100644 whatwg.org/style/.htaccess diff --git a/resources.whatwg.org/.htaccess b/resources.whatwg.org/.htaccess deleted file mode 100644 index 105fb8564..000000000 --- a/resources.whatwg.org/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -Options Indexes FollowSymLinks -AddDefaultCharset utf-8 -AddCharset utf-8 .json -Redirect 301 /favicon.ico /logo.svg diff --git a/resources.whatwg.org/fonts/.htaccess b/resources.whatwg.org/fonts/.htaccess deleted file mode 100644 index f28955094..000000000 --- a/resources.whatwg.org/fonts/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Header set Access-Control-Allow-Origin "*" diff --git a/whatwg.org/.htaccess b/whatwg.org/.htaccess deleted file mode 100644 index 0878d92cf..000000000 --- a/whatwg.org/.htaccess +++ /dev/null @@ -1,105 +0,0 @@ -# Error documents (one day we'll have some) -ErrorDocument 404 /404 -ErrorDocument 410 /410 - -Header set Strict-Transport-Security "max-age=31556900; includesubdomains; preload" env=HTTPS - -# Defaults -DefaultType text/html -AddDefaultCharset utf-8 -AddType image/svg+xml .svg -AddType image/png .png -AddType image/gif .gif - -# Indexing Options -IndexOptions DescriptionWidth=* NameWidth=* FancyIndexing FoldersFirst ScanHTMLTitles -# also add SupressHTMLPreamble once we use HeaderName and some fancy CGI -IndexIgnore .htaccess - - - ForceType text/plain - SetHandler default-handler - - - - mod_gzip_on Yes - - -# Add some default descriptions -AddDescription "Information about the files in this directory" README - -redirect 410 /issues -redirect 410 /charter.pl -redirect 410 /mailing-list.pl - -redirect 302 /principles https://whatwg.org/position-paper -redirect 301 /position-paper https://www.w3.org/2004/04/webapps-cdf-ws/papers/opera.html -redirect 301 /current-work https://spec.whatwg.org/ - -redirect 301 /html https://html.spec.whatwg.org/multipage/ -redirect 301 /HTML https://html.spec.whatwg.org/multipage/ -redirect 301 /html5 https://html.spec.whatwg.org/multipage/ -redirect 301 /HTML5 https://html.spec.whatwg.org/multipage/ -redirect 301 /wf2 https://html.spec.whatwg.org/multipage/#forms -redirect 301 /ww https://html.spec.whatwg.org/multipage/#workers -redirect 301 /ws https://html.spec.whatwg.org/multipage/#network -redirect 301 /c https://html.spec.whatwg.org/ -redirect 301 /C https://html.spec.whatwg.org/multipage/ -redirect 301 /pdf https://html.spec.whatwg.org/print.pdf - -redirect 301 /d https://dom.spec.whatwg.org/ -redirect 301 /dom https://dom.spec.whatwg.org/ -redirect 301 /dp https://domparsing.spec.whatwg.org/ -redirect 301 /domparsing https://domparsing.spec.whatwg.org/ -redirect 301 /e https://encoding.spec.whatwg.org/ -redirect 301 /encoding https://encoding.spec.whatwg.org/ -redirect 301 /cors https://fetch.spec.whatwg.org/ -redirect 301 /fetch https://fetch.spec.whatwg.org/ -redirect 301 /f https://fullscreen.spec.whatwg.org/ -redirect 301 /fs https://fullscreen.spec.whatwg.org/ -redirect 301 /fullscreen https://fullscreen.spec.whatwg.org/ -redirect 301 /j https://javascript.spec.whatwg.org/ -redirect 301 /js https://javascript.spec.whatwg.org/ -redirect 301 /javascript https://javascript.spec.whatwg.org/ -redirect 301 /m https://mimesniff.spec.whatwg.org/ -redirect 301 /mimesniff https://mimesniff.spec.whatwg.org/ -redirect 301 /n https://notifications.spec.whatwg.org/ -redirect 301 /notifications https://notifications.spec.whatwg.org/ -redirect 301 /q https://quirks.spec.whatwg.org/ -redirect 301 /quirks https://quirks.spec.whatwg.org/ -redirect 301 /u https://url.spec.whatwg.org/ -redirect 301 /url https://url.spec.whatwg.org/ -redirect 301 /x https://xhr.spec.whatwg.org/ -redirect 301 /xhr https://xhr.spec.whatwg.org/ - -redirect 302 /newbug https://github.com/whatwg/html/issues/new - -redirect 301 /mailing-list) https://whatwg.org/mailing-list - -redirect 301 /google2569a0eb653e4cf1.html https://whatwg.org/ -redirect 301 /link-fixup.js https://html.spec.whatwg.org/multipage/link-fixup.js - -RedirectMatch 301 ^/specs/?$ https://spec.whatwg.org/ - -redirect 301 /specs/html5 https://html.spec.whatwg.org/multipage/ -redirect 301 /specs/vocabs https://html.spec.whatwg.org/multipage/microdata.html -redirect 301 /specs/url/current-work https://url.spec.whatwg.org/ -redirect 301 /specs/web-apps/html5 https://html.spec.whatwg.org/multipage/ -redirect 301 /specs/web-apps/current-work/complete.html https://html.spec.whatwg.org/ -redirect 301 /specs/web-apps/current-work/complete/ https://html.spec.whatwg.org/multipage/ -redirect 301 /specs/web-apps/current-work/html5-a4.pdf https://html.spec.whatwg.org/print.pdf -redirect 301 /specs/web-apps/current-work/html5-letter.pdf https://html.spec.whatwg.org/print.pdf -redirect 301 /specs/web-apps/current-work/html-a4.pdf https://html.spec.whatwg.org/print.pdf -redirect 301 /specs/web-apps/current-work/html-letter.pdf https://html.spec.whatwg.org/print.pdf -redirect 301 /specs/web-apps/current-work/webrtc.html https://w3c.github.io/webrtc-pc/ -redirect 301 /specs/web-apps/current-work/websrt.html https://w3c.github.io/webvtt/ -redirect 301 /specs/web-apps/current-work/webvtt.html https://w3c.github.io/webvtt/ -redirect 301 /specs/web-apps/current-work/ https://html.spec.whatwg.org/ -redirect 301 /specs/web-forms/tests https://github.com/w3c/web-platform-tests -redirect 301 /specs/web-workers/current-work/index.html https://html.spec.whatwg.org/multipage/workers.html -redirect 301 /demos/canvas/ https://html.spec.whatwg.org/demos/canvas/ -redirect 301 /demos/offline/clock/live-demo/ https://html.spec.whatwg.org/demos/offline/clock/ -redirect 301 /demos/offline/clock/ https://html.spec.whatwg.org/demos/offline/clock/ -redirect 301 /demos/workers/ https://html.spec.whatwg.org/demos/workers/ -RedirectMatch 301 ^/(demos/(date|multiform|repeat)-01/.*)$ https://github.com/whatwg/whatwg.org/tree/417c7bf7a19375c4fbf4a68146153a6baeadecdb/$1 -redirect 301 /images https://images.whatwg.org diff --git a/whatwg.org/demos/autofill/.htaccess b/whatwg.org/demos/autofill/.htaccess deleted file mode 100644 index 8455d7484..000000000 --- a/whatwg.org/demos/autofill/.htaccess +++ /dev/null @@ -1 +0,0 @@ -IndexIgnore bubbling.html full.html diff --git a/whatwg.org/specs/web-forms/.htaccess b/whatwg.org/specs/web-forms/.htaccess deleted file mode 100644 index 29c4dce43..000000000 --- a/whatwg.org/specs/web-forms/.htaccess +++ /dev/null @@ -1 +0,0 @@ -IndexIgnore 2005-02-07-submission diff --git a/whatwg.org/specs/web-forms/2004-06-27-call-for-comments/.htaccess b/whatwg.org/specs/web-forms/2004-06-27-call-for-comments/.htaccess deleted file mode 100644 index a3582558a..000000000 --- a/whatwg.org/specs/web-forms/2004-06-27-call-for-comments/.htaccess +++ /dev/null @@ -1,13 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/2004-12-10-call-for-comments/.htaccess b/whatwg.org/specs/web-forms/2004-12-10-call-for-comments/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/2004-12-10-call-for-comments/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/2005-01-28-call-for-comments/.htaccess b/whatwg.org/specs/web-forms/2005-01-28-call-for-comments/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/2005-01-28-call-for-comments/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/2005-02-07-submission/.htaccess b/whatwg.org/specs/web-forms/2005-02-07-submission/.htaccess deleted file mode 100644 index 33e109c9e..000000000 --- a/whatwg.org/specs/web-forms/2005-02-07-submission/.htaccess +++ /dev/null @@ -1,13 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - - - -ForceType application/octet-stream - diff --git a/whatwg.org/specs/web-forms/2005-04-11-call-for-comments/.htaccess b/whatwg.org/specs/web-forms/2005-04-11-call-for-comments/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/2005-04-11-call-for-comments/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/2005-07-03/.htaccess b/whatwg.org/specs/web-forms/2005-07-03/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/2005-07-03/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/2005-09-01/.htaccess b/whatwg.org/specs/web-forms/2005-09-01/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/2005-09-01/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/specs/web-forms/current-work/.htaccess b/whatwg.org/specs/web-forms/current-work/.htaccess deleted file mode 100644 index 84dd96693..000000000 --- a/whatwg.org/specs/web-forms/current-work/.htaccess +++ /dev/null @@ -1,9 +0,0 @@ -ForceType text/html - - -ForceType image/png - - - -ForceType image/png - diff --git a/whatwg.org/style/.htaccess b/whatwg.org/style/.htaccess deleted file mode 100644 index 2745033a3..000000000 --- a/whatwg.org/style/.htaccess +++ /dev/null @@ -1,4 +0,0 @@ -ForceType text/css -ExpiresActive on -ExpiresDefault A604800 -Header set Cache-Control "public"