Recently, a website stopped working because it was originally configured to treat .html files like .shtml (don’t know why it used to work). Anyway, when people would visit that site, their browser would ask them if they wanted to download the webpage, rather than simply display it.
Earlier, the .htaccess file contained the following line:
addType text/x-server-parsed-html .html
This was commented out like this:
# addType text/x-server-parsed-html .html
And the strange “would you like to download the webpage” error disappeared. Problem was, the .html files (which contained SSI include directives) were no longer working like .shtml files. They were just plain .html files.
So this is what we did…
We added this line to the .htaccess file:
AddHandler server-parsed .html
Some webhosts don’t require you to do this; others apparently do. It’s dependent on the configuration of your Apache webserver.
Anyway, I hope this helps! 🙂