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
















0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment