charset = "";
# add charset for "text/*" types
if (type ~ "text/") {
- type = "\"" type "; charset=\" + mimetype_textcharset"
+ type = "\"" type "\" + mimetype_textcharsetheader"
} else {
type = "\"" type "\""
}
# header
cat >> mime.types.conf <<EOF
# charset used for "text/*" mimetypes
-mimetype_textcharset = "utf-8"
+# Apache's AddCharset equivalent. Leave empty to add no charset.
+# AddCharset "utf-8" would be "; charset=\"utf-8\""
+# See this post about what it affects:
+# http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-February/022499.html
+mimetype_textcharsetheader = ""
+#mimetype_textcharsetheader = "; charset=\"utf-8\""
+
# mimetype mapping
mimetype.assign = (
EOF
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
Version: 1.4.30
-Release: 7
+Release: 8
License: BSD
Group: Networking/Daemons/HTTP
Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2