Link to home
Start Free TrialLog in
Avatar of it-kourt
it-kourtFlag for United States of America

asked on

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.
Avatar of MMDeveloper
MMDeveloper
Flag of United States of America image

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
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.
ASKER CERTIFIED SOLUTION
Avatar of jausions
jausions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.