Setting the mime type in your Web Server for Apollo applications
From the Apollo Release Notes:
In order for client browsers to recognize an Apollo application when being downloded, the Web Server hosting the Apollo applications needs to map the following mimetype
“application/vnd.adobe.air-application-installer-package+zip”
to the Apollo extension “.air”. For example, for an Apache Web Server you will add to the AddType section:
AddType application/vnd.adobe.apollo-application-installer-package+zip .air
Note, you can do this in the web server config, or if using Apache, in the .htaccess file.
Update (8/26/08) : The mime type changed for the AIR 1.0 release.
The correct MIME type for an AIR file is:
application/vnd.adobe.air-application-installer-package+zip
For example, to set the MIME type for the Apache server, you would add the following line to your Apache configuration file:
AddType application/vnd.adobe.air-application-installer-package+zip .air






Hi,
I have included following mime mapping in web.xml for Apache Tomcat 5.5.
air
application/vnd.adobe.air-application-installer-package+zip
Still, I am not able to invoke the .air file from my flex application which is
running on tomcat webserver. It is opening the contents of .air file but not invoking the file to install on my machine.
Can you please help me how to invoke .air from my flex application which is running on my webserver.
- Thanks.
sreedhar
12 Dec 07 at 11:03 pm
Someone should ask Randy to put this in the AIR doc as loads of people are going to trip up on this.
Graeme Harker
3 Apr 08 at 7:28 am