Warning: include() [function.include]: Unable to access /var/www/html/rogue-development/blog2/wp-content/advanced-cache.php in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include(/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include() [function.include]: Failed opening '/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3468

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382
AIR Mime type « Marc’s Musings

AIR Mime type

I’ve been having some problems with some browsers downloading my .air apps as .zip files, even replacing the file extension. I figured it was a Mime type problem, and sure-enough…

This is from the AIR release notes:

Setting the mime type in your Web Server for AIR applications

In order for client browsers to recognize an AIR application when being downloaded, the Web Server hosting the AIR applications needs to map the following MIME Content Type “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.air-application-installer-package+zip .air

So for Apache, just add this to your config:

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

I had some weird problems with the badge-installer not working on a couple OSX machines, I wonder if this will fix it.

3 Responses to “AIR Mime type”


  • Don’t use application/zip, use the one above in the post.

  • Thanks – I added to my .htaccess file and it works now!

  • Adding AIR MIME type is highly recommended for everyone who cares about correct downloading of the AIR applications by site visitors.

    I had the troubles with it, and when added AIR MIME type via .htaccess file, problem was solved.

    So, to make site with AIR distributive reliable, it is necessary to handle AIR extenstion in proper way.

Comments are currently closed.