From 7e1ab993068a381948978cc657a8f88f48cb8084 Mon Sep 17 00:00:00 2001 From: ToMe25 Date: Mon, 16 Sep 2024 15:50:44 +0200 Subject: [PATCH] [doc] update create-mime.conf.pl compression types update create-mime.conf.pl compression types for .tbz and .tar.bz2 add .tgz to create-mime.conf.pl; already listed in mimetypes_default[] [gstrauss: edited commit message] x-ref: "[script + doc] Update tar.bz2 mime type" https://github.com/lighttpd/lighttpd1.4/pull/140 github: closes #140 --- doc/scripts/create-mime.conf.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/scripts/create-mime.conf.pl b/doc/scripts/create-mime.conf.pl index 2a51bdbf7..c30b3f4c8 100755 --- a/doc/scripts/create-mime.conf.pl +++ b/doc/scripts/create-mime.conf.pl @@ -177,10 +177,11 @@ sub print_type { # other useful mappings my %useful = ( + ".tgz" => "application/x-gtar-compressed", ".tar.gz" => "application/x-gtar-compressed", ".gz" => "application/gzip", - ".tbz" => "application/x-gtar-compressed", - ".tar.bz2" => "application/x-gtar-compressed", + ".tbz" => "application/x-bzip-compressed-tar", + ".tar.bz2" => "application/x-bzip-compressed-tar", ".bz2" => "application/x-bzip2", ".log" => "text/plain", ".conf" => "text/plain",