PDA

View Full Version : Browser opens iso file



Scormen
03-01-2008, 02:16 AM
Hi all,

I have some *.iso files in a folder. When a visitor wants to download that file, the browser doesn't download the file, but wants to open it in the browser. Yes, all the browser options are set correctly. At other websites, firefox just starts to download the iso file.

Could this be a error in a (confirugration?) file of apache?

OS: CentOS 5.0 64bit
DA: 1.31.4

Thanks,
Kris

agnivo007
03-01-2008, 03:19 AM
mime type conf error probably (browser specific directives in httpd.conf)?

Scormen
03-01-2008, 03:28 AM
This is one of my default mime types: application/octet-stream bin dms lha lzh exe class so dll img iso

I think this is correct?

Kris

Scormen
03-01-2008, 03:53 AM
Agnivo, I was looking in the wrong file.
Mime types are in /etc/httpd/conf
application/octet-stream was in the mime.types file, but not the extension iso

Thanks for the tip, its working now!
Kris

agnivo007
03-01-2008, 11:04 AM
Glad it worked though I hit the wrong file (DA uses different files than stock apache install) :)