• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1411
  • Last Modified:

https problem: application/octet-stream

I added SSL support to my php website. its working fine, but sometimes when clicking on one of the internal links, the browser returns a file attachment instead of the page, when I cancel and try gain, it works fine. see the attached picture.

You have chosen to open
which is a:application/octet-stream

1 Solution
It seems the problem is with IIS Web server MIME Type of "application/octet-stream". See the "Misconfigured Web Server" section here:

You might want to install common plugins (or update any existing ones) to be safe:

Exit Firefox.
In Windows Explorer, navigate to:
C:\Program Files\Mozilla Firefox\greprefs
Open all.js file with Notepad.
Scroll down, and locate following lines:
pref("network.http.version", "1.1");
pref("network.http.proxy.version", "1.1");
//pref("network.http.version", "1.0");
//pref("network.http.proxy.version", "1.0");
Make sure, that first two lines don't start with "//", and two others, do.
When you're done, go File>Save

Also make sure there is no links start with "http://". It should be "https:\\".

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now