Browse Source

[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
personal/stbuehler/mod-csrf-old
Glenn Strauss 6 years ago
parent
commit
8de5f41577
  1. 15
      doc/config/conf.d/mime.conf

15
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
##

Loading…
Cancel
Save