Alternative of AddType in lighthttpd
问题 How to use AddType in lighthttpd server? Like in Apache server this htaccess code is valid: AddType image/webp .webp But what will be the alternative of this in lighthttpd server htaccess? Thanks in advance. 回答1: There is the mimetype.assign section of the lighttpd.conf configuration file: mimetype.assign = ( ".pdf" => "application/pdf", ".sig" => "application/pgp-signature", ".spl" => "application/futuresplash", ".class" => "application/octet-stream", ".ps" => "application/postscript", "