10

Setting the mime type in your Web Server for Apollo applications

 3 years ago
source link: http://www.mikechambers.com/blog/2007/03/18/setting-the-mime-type-in-your-web-server-for-apollo-applications/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Setting the mime type in your Web Server for Apollo applications

Sunday, March 18, 2007

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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK