From 5eb60ab0b7bc81378c5c378ec63d125da7d9385b Mon Sep 17 00:00:00 2001 From: Elias Fink Date: Wed, 25 Jun 2025 18:36:30 +0200 Subject: [PATCH] Removed static autoindex --- static/.htaccess_autoindex | 44 ------------------------ static/autoindex/header.html | 19 ----------- static/autoindex/icon-back.svg | 1 - static/autoindex/icon-file-image.svg | 1 - static/autoindex/icon-file-text.svg | 1 - static/autoindex/icon-file.svg | 1 - static/autoindex/icon-folder-open.svg | 1 - static/autoindex/icon-folder.svg | 1 - static/autoindex/redirect.html | 1 - static/autoindex/style.css | 48 --------------------------- 10 files changed, 118 deletions(-) delete mode 100644 static/.htaccess_autoindex delete mode 100644 static/autoindex/header.html delete mode 100644 static/autoindex/icon-back.svg delete mode 100644 static/autoindex/icon-file-image.svg delete mode 100644 static/autoindex/icon-file-text.svg delete mode 100644 static/autoindex/icon-file.svg delete mode 100644 static/autoindex/icon-folder-open.svg delete mode 100644 static/autoindex/icon-folder.svg delete mode 100644 static/autoindex/redirect.html delete mode 100644 static/autoindex/style.css diff --git a/static/.htaccess_autoindex b/static/.htaccess_autoindex deleted file mode 100644 index c91911d..0000000 --- a/static/.htaccess_autoindex +++ /dev/null @@ -1,44 +0,0 @@ -Header set Access-Control-Allow-Origin "*" - -Options +Indexes -IndexOptions Charset=UTF-8 FancyIndexing HTMLTable IgnoreCase FoldersFirst VersionSort IconsAreLinks IconWidth=25 IconHeight=25 SuppressLastModified SuppressDescription -IndexOrderDefault Ascending Name -IndexIgnore autoindex -IndexHeadInsert "" -IndexStyleSheet /autoindex/style.css -HeaderName /autoindex/header.html - -DefaultIcon /autoindex/icon-file.svg -AddIcon /autoindex/icon-file-image.svg .png .gif .jpg .jpeg .ico .svg -AddIcon /autoindex/icon-file-text.svg .html .css .js .xml .webmanifest -AddIcon /autoindex/icon-folder.svg ^^DIRECTORY^^ -AddIcon /autoindex/icon-back.svg .. - -ErrorDocument 404 /autoindex/redirect.html -ErrorDocument 403 /autoindex/redirect.html - - - ExpiresActive On - ExpiresDefault A2592000 - ExpiresByType text/css A604800 - ExpiresByType text/javascript A604800 - ExpiresByType application/javascript A604800 - - - - Header set Cache-Control "max-age=604800, public" - - - - Header set Cache-Control "max-age=2592000, public" - - - - SetOutputFilter DEFLATE - - - - - Header append Vary: Accept-Encoding - - \ No newline at end of file diff --git a/static/autoindex/header.html b/static/autoindex/header.html deleted file mode 100644 index 4885f2b..0000000 --- a/static/autoindex/header.html +++ /dev/null @@ -1,19 +0,0 @@ - - - \ No newline at end of file diff --git a/static/autoindex/icon-back.svg b/static/autoindex/icon-back.svg deleted file mode 100644 index ced6469..0000000 --- a/static/autoindex/icon-back.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/icon-file-image.svg b/static/autoindex/icon-file-image.svg deleted file mode 100644 index af76ce6..0000000 --- a/static/autoindex/icon-file-image.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/icon-file-text.svg b/static/autoindex/icon-file-text.svg deleted file mode 100644 index 7e0fe3e..0000000 --- a/static/autoindex/icon-file-text.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/icon-file.svg b/static/autoindex/icon-file.svg deleted file mode 100644 index fc19ac2..0000000 --- a/static/autoindex/icon-file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/icon-folder-open.svg b/static/autoindex/icon-folder-open.svg deleted file mode 100644 index ae84b9b..0000000 --- a/static/autoindex/icon-folder-open.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/icon-folder.svg b/static/autoindex/icon-folder.svg deleted file mode 100644 index 643abf9..0000000 --- a/static/autoindex/icon-folder.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/redirect.html b/static/autoindex/redirect.html deleted file mode 100644 index fe9baf1..0000000 --- a/static/autoindex/redirect.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/autoindex/style.css b/static/autoindex/style.css deleted file mode 100644 index 7504b7e..0000000 --- a/static/autoindex/style.css +++ /dev/null @@ -1,48 +0,0 @@ -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; -} - -a { - color: #000; - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -#header { - margin-top: 7.5vh; - text-align: center; -} - -#logo { - width: 350px; - max-width: 90vw; -} - -#indexlist { - padding: 10px; - font-size: 18px; - text-align: left; - line-height: 1.5; - margin: 2.5vh auto; -} - -.indexcolicon { - width: 30px; -} - -.indexcolname { - width: 315px; - padding-right: 15px; -} - -.indexcolsize { - width: 75px; -} - -address { - display: none; -} \ No newline at end of file