Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 2

Adding AIR mimetype to Lighttpd

August 20th, 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",
[...]
)

Tags: Lighttpd · Adobe AIR

Bookmark this article

del.icio.us:Adding AIR mimetype to Lighttpd digg:Adding AIR mimetype to Lighttpd spurl:Adding AIR mimetype to Lighttpd wists:Adding AIR mimetype to Lighttpd simpy:Adding AIR mimetype to Lighttpd newsvine:Adding AIR mimetype to Lighttpd blinklist:Adding AIR mimetype to Lighttpd furl:Adding AIR mimetype to Lighttpd reddit:Adding AIR mimetype to Lighttpd fark:Adding AIR mimetype to Lighttpd blogmarks:Adding AIR mimetype to Lighttpd Y!:Adding AIR mimetype to Lighttpd smarking:Adding AIR mimetype to Lighttpd magnolia:Adding AIR mimetype to Lighttpd segnalo:Adding AIR mimetype to Lighttpd gifttagging:Adding AIR mimetype to Lighttpd

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment