Ted Patrick - Demos & MAX @ Adobe Systems


Note: This is the personal blog of Ted Patrick. The opinions and statements voiced here are my own.



AIR - Adding *.air to Apache

DIGG IT!     3 Comments Published Wednesday, July 18, 2007 at 8:41 AM .

In posting an .AIR file to my site last night, several people complained about the lack of a MIME type. I just added the mime type support for .AIR files to my apache server via .htaccess.

Here is how it works:

Take a look at this sample htaccess file (note it has no "." before it). Simply save this file as ".htaccess" into any directory on an Apache server and that path will have .AIR MIME type support.

Here is the line that matters most:

AddType application/vnd.adobe.air-application-installer-package+zip air


When Apache hits an .AIR file, this will add a header automatically to the request. This will also cause the file to be processed into the AIR runtime installer when run locally given AIR's ability to integrate into MIME.

Cheers,

Ted :)

3 Responses to “AIR - Adding *.air to Apache”

  1. # Anonymous Anonymous

    Thanks for the advice. Very helpful.  

  2. # Anonymous Serge Jespers

    I won't complain any more... ;-)  

  3. # Blogger Ted Patrick

    Always complain! How can we get better without feedback? I read every comment, they all help.

    Ted :)  

Post a Comment

Where to find me:

Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe


Latest

Lists

Links

Jobs

Flex Jobs
city, state, zip

Archives