Adding AIR mimetype to Lighttpd

Posted on | August 20, 2007 | No Comments

If you tell Lighttpd about the mimetype for your AIR apps, then your users will be properly prompted when they click on the files to download/install. If not, then their browsers will complain about unknown file types. Happily, like so much else with Lighttpd, adding the mimetype is extremely simple.

In your lighttpd.conf file, under “mimetype.assign”, set up the new mime type. Like so:


mimetype.assign = (
".air" => "application/vnd.adobe.air-application-installer-package+zip",
[...]
)

Comments

Leave a Reply





CommentLuv Enabled

Video & Audio Comments are proudly powered by Riffly