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

 

 

 

 

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.