Hosting apk files on godaddy shared windows hosting

Another joy of GoDaddy hosting. Have you ever tried to host an apk file to allow someone to install your Android application? Well on the godaddy window servers the file will always come up as not found. Well there is a fix. Just add a web.config file to your apk file directory with this text:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".apk" mimeType="application/vnd.android.package-archive" />
</staticContent>
</system.webServer>
</configuration>