libapache2-mod-mime-xattr | Apache2 module to get MIME info from filesystem extended attributes | Mehr ...
This is a module for the Apache HTTPD 2.2 which may be used to set a range of MIME properties of files served from a document tree with extended attributes (EAs) as supported by the underlying file system. The current version of mod_mime_xattr has support for Linux style EAs which are supported by Linux 2.4 with the ACL/EA patches applied and vanilla Linux 2.6. The following attributes may be used: . - user.mime_type: set the MIME type of a file explicitly. This attribute is compatible with the shared MIME database specification as published by freedesktop.org. - user.charset: set the charset used in a file. - user.mime_encoding: set the MIME encoding of a file (e.g. gzip). - user.apache_handler: set the apache handler of a file explicitly.