在.heaccess文件中添加:

AddHandler application/iphone .ipa
AddHandler application/vnd.android.package-archive .apk