Forum Moderators: coopster

Message Too Old, No Replies

Site Not Opening

Problem with .htaccess file.

         

KFish

10:02 am on Apr 16, 2008 (gmt 0)

10+ Year Member



I changed my host and launched my site with the new host. The site was ok and opening fine. Now when I am opening the site (with new host) its just not opening. The message is “Unknown File Type. Do you want to save this file?”

The customer care guy says problem with .htaccess file.

Is it the case?

Habtom

10:06 am on Apr 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Assuming it is the .htaccess creating the problem, you can start by removing it if there is no specific thing you wanted it to handle.

Or download the file, and see if you can modify the line creating the problem, it seems to me the file extensions are re-written to an extension type not-recognizable by the server.

tomda

10:10 am on Apr 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yep ! Presumably !

A/ Download your .htaccess file using an FTP app
B/ Open it and look for some AddType statement (AddType)

The thing is that the extension your website is using is not recognize (html, htm, asp, php or anything else ?) and your server therefore is forcing the file to be downloaded.

Do a search for "Htaccess Mime type" or "AddType".

Tomda