Project

General

Profile

Mimetype use-xattrDetails » History » Version 4

« Previous - Version 4/7 (diff) - Next » - Current version
Anonymous, 2007-12-10 15:51



#!rst 

mimetype.use-xattr
==================

mimetype.use-xattr

    If available, use the XFS-style extended attribute interface to retrieve the "Content-Type" attribute on each file, and use that as the mime type. If it's not defined or not available, fall back to the mimetype.assign assignment.

    Example: ::

      mimetype.use-xattr = "enable" 

    on shell use: ::

      $ attr -s Content-Type -V image/svg svgfile.svg

    or ::

      $ attr -s Content-Type -V text/html indexfile

See Also
========

 * mimetype.assign option <http://trac.lighttpd.net/trac/wiki/mimetype.assignDetails>

Updated by Anonymous almost 12 years ago · 4 revisions