Alleria Alleria - 7 months ago 56
iOS Question

How to hide iOS App (.plist and .ipa file) on Apache server?

I have to hide my iOS app on my Apache server (exactly the folder with app and .plist) and I tried with permission (750) but the link for download the app doesn't work:

<a href="itms-services://?action=download-manifest&url=">Download App</a>

How can I hide the folder and in the same permit the download of app?

Answer Source

If you have the index module of Apache enabled (which is per default) Apache shows you an index when browsing a directory without an index.html (or similar) file.

To disable this behaviour add the following line to your .htaccess file:

Options -Indexes

If you do not have an .htaccess file yet, just create a blank file in the directory you want to hide and the add the line.

If you just want to hide all files with the ending plist and app from the index add the following line to your .htaccess instead:

IndexIgnore *.plist *.app
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download