How can I make my binary file is served as binary and not text when user choose "Save Linked File As..." in Safari?

Posted by Eonil on Pro Webmasters See other posts from Pro Webmasters or by Eonil
Published on 2011-05-02T06:54:57Z Indexed on 2011/06/21 0:31 UTC
Read the original article Hit count: 292

Filed under:
|
|

I'm serving a binary file (.IPA) with Ubuntu/Apache 2.2. When I have chosen Save Linked File As... in Safari, it says it's text file. And it guides me to add .txt extension. However it does not add any extra extension when I download it just clicking link.

I added line AddType application/octet-stream .ipa in apache configuration file. I don't know what's wrong with this. Is this a bug of Safari or my misconfiguration? (1) If it caused by bug, how can I avoid this? (2) Or if it caused by misconfiguration, what should I do?

© Pro Webmasters or respective owner

Related posts about apache

Related posts about safari