Try printing the File Type returned by apk and zip
try below method too ⇩
add this to
application/vnd.android.package-archive apk
application/zip zip
AddType application/vnd.android.package-archive .apk
AddType application/zip .zip
the file mime.types is located at {APACHE_INSTALL_PATH}/conf/ , and add the AddType line in httpd.conf near other AddType lines add this to /etc/apache2/mods-available/mime.conf :