From c64766f88cc28899d3d387e3eebfa4fcc3eef808 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Fri, 5 Jun 2020 11:00:26 +0100 Subject: [PATCH] Fix mime support on Arch Linux Some systems use "httpd" directory structure instead of "apache" --- src/mime/type_unix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mime/type_unix.go b/src/mime/type_unix.go index 0b247b623a..3a25002842 100644 --- a/src/mime/type_unix.go +++ b/src/mime/type_unix.go @@ -20,6 +20,7 @@ var typeFiles = []string{ "/etc/mime.types", "/etc/apache2/mime.types", "/etc/apache/mime.types", + "/etc/httpd/conf/mime.types", } func loadMimeFile(filename string) {