summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-04-19 15:11:34 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2016-04-24 20:24:28 -0400
commit8de5f4157744b0d3b32fe698f3de79fe1f51fba1 (patch)
tree6a16bc8ba1cbd12cc701591b19ba803e89be72b6 /doc
parenteb0cbb00ff17245b17aaa335c30ce208088eab26 (diff)
downloadlighttpd-git-8de5f4157744b0d3b32fe698f3de79fe1f51fba1.tar.gz
[doc] add mimetype.use-xattr to conf.d/mime.conf
x-ref: "Migrate to freedesktop.org definition of xattr mimetype" https://redmine.lighttpd.net/issues/2631
Diffstat (limited to 'doc')
-rw-r--r--doc/config/conf.d/mime.conf15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/config/conf.d/mime.conf b/doc/config/conf.d/mime.conf
index c4d6ce41..8d8d69c1 100644
--- a/doc/config/conf.d/mime.conf
+++ b/doc/config/conf.d/mime.conf
@@ -8,8 +8,19 @@
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Mimetype_assignDetails
##
-## Use the "Content-Type" extended file attribute to obtain mime type if
-## possible
+## mimetype.xattr-name
+## Set the extended file attribute name used to obtain mime type
+## (must also set mimetype.use-xattr = "enable")
+##
+## Default value is "Content-Type"
+##
+## freedesktop.org Shared MIME-info Database specification suggests
+## user-defined value ("user.mime_type") as name for extended file attribute
+#mimetype.xattr-name = "user.mime_type"
+
+##
+## Use extended attribute named in mimetype.xattr-name (default "Content-Type")
+## to obtain mime type if possible
##
## Disabled by default
##