PDA

View Full Version : new http server does not handle .dmg file types correctly


Brian5678
7-6-06, 11:52 AM
After migrating, my '.dmg' files on my site are no longer download correctly as mac archive files. They are being displayed in the browser or a forced download saves them as html text files.

I believe this problem can easily be corrected in the http servers mine/type setup.

Brian5678
7-6-06, 05:12 PM
The easy workaround to the default server configuration file not being setup for dmg is to add AddType to you own htaccess file.

see http://www.macosxhints.com/article.php?story=20040211102018600

AddType application/octet-stream .dmg
AddType application/x-gzip .gz
AddType application/x-stuffit .sit
AddType application/x-stuffit .sitx
AddType application/zip .zip