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

FireFox Prompts "Opening" Dialogue Pop Up - Looks for "application/octet-stream"

Im having a problem with a page (www.securitypartners.com) showing up in FireFox. It shows up fine in IE. When I load the page in FF it prompts a dialogue box to open the file which it says is "application/octet-stream". The files are HTML and PHP based. It looks like a header issue but Im not too familiar with server errors and things of this nature. Any help is appreciated.
0
it-kourt
Asked:
it-kourt
  • 2
1 Solution
 
MMDeveloperCommented:
yeah sounds like the .php filetype is not properly registered in the server/system.

the php mimetype is application/x-httpd-php

If you are running apache on windows, you probably need to add this to your httpd.conf and restart apache


AddHandler application/x-httpd-php .php
0
 
WerrockCommented:
The webserver probably has an incorrect mimetype and firefox will not open it by default. Internet explorer is not be that picky of what it opens and does not follow the RFC as firefox does.
0
 
jausionsCommented:
Your IIS server is not properly configured to interpret PHP scripts. The pages are returned as-is. The source shows: <?php header("Content-type:text/html"); ?> which means that IIS doesn't pass the file to the PHP interpreter.

Go through the whole PHP / IIS configuration again, to make sure you didn't skip a step somewhere.
0
 
MMDeveloperCommented:
If PHP was installed on your machine and you are using IIS, go to your IIS manager and find your "website" and somewhere in there you have to allow/deny services that can run on that website. When you install PHP, it's not "enabled" by default, you have to go in there and allow it to run.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

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