#78: lighttpd.conf -------------------+-------------------------------------------------------- Id: 78 | Status: new Component: ports | Modified: Mon Feb 6 12:12:10 2006 Severity: minor | Milestone: Priority: low | Version: Owner: jukka | Reporter: anonymous -------------------+-------------------------------------------------------- According to [1]: mimetype.assign The list is compared top down and the first match is taken. This is important if you have matches like: ".tar.gz" => "application/x-tgz", ".gz" => "application/x-gzip", [1] http://www.lighttpd.net/documentation/configuration.html -------- --- lighttpd.conf.old 2005-12-14 15:05:40.000000000 +0000 +++ lighttpd.conf 2006-02-06 11:07:40.000000000 +0000 @@ -74,7 +74,6 @@ ".gram" => "application/srgs", ".grxml" => "application/srgs+xml", ".gtar" => "application/x-gtar", - ".gz" => "application/x-gunzip", ".hdf" => "application/x-hdf", ".hqx" => "application/mac-binhex40", ".htm" => "text/html", @@ -164,6 +163,7 @@ ".t" => "application/x-troff", ".tar" => "application/x-tar", ".tar.gz" => "application/x-tar-gz", + ".gz" => "application/x-gunzip", ".tcl" => "application/x-tcl", ".tex" => "application/x-tex", ".texi" => "application/x-texinfo", -- Ticket URL: <http://crux.nu/cgi-bin/trac.cgi/ticket/78> CRUX <http://crux.nu/> CRUX