Jump to content

File download window comes up instead of web page?


mpksingh

Recommended Posts

Dear friends,

 

I have a new problem. Our site www.guwahatichessassociation.com just does not open. Instead, the "File Download" window comes up. On clicking the "Find" button of this window, the result page says

 

"Windows has the following information about this MIME type. This page will help you find software needed to open your file.

 

 

 

MIME Type: x-httpd-php

 

Description: UnKnown

 

Windows does not recognize this MIME type"

 

I changed the .htaccess file contents as below.

 

AddType x-httpd-php .php .htm .html

# AddHandler application/x-httpd-php .php .htm .html

 

and still not working. Please help me.

 

Best regards,

 

mpksingh

 

 

 

 

Link to comment
Share on other sites

You should use AddType application/x-httpd-php .php instead. Note: in order for the AddType directive to work Apache will need be configured with the PHP Module ( eg php5apache2_2.dll)

 

Check with your webhost whether PHP is supported with your hosting account. Not all hosts will provide PHP support, you may have to change hosts if your webhost doesn't provide PHP.

Link to comment
Share on other sites

Dear wildteen88,

 

Thanks for your suggestion.

 

The problem was solved on the day of my posting the topic itself. The problem originated from the 'control panel' mime types. There, I wrongly added "x-httpd-php" under the user defined mime types. I deleted the line and it is Ok now. The problem stands as solved.

 

Best regards,

 

mpksingh

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.