I was able to solve my issue in the course of writing this post, but I decided to post anyway in case it helps someone else with a similar issue:
For years I've used AddType in my .htaccess file to parse .html files for SSI on a particular website
AddType text/x-server-parsed-html .html
Today I realized that the web pages were not being parsed. I discovered that the .htaccess file was edited on 4/18/2011 6:07:12 PM and that AddType was changed to AddHandler.
AddHandler text/x-server-parsed-html .html
I changed it back to AddType but then the browser wants to download the web page as a file instead of loading and displaying it as a web page.
Since my other websites on other servers weren't having issues and no other .htaccess file was edited, I took a look at the other .htaccess files. I found that on another website I had used
AddHandler server-parsed .html
I changed text/x-server-parsed-html to server-parsed in the .htaccess for the website having an issue, and this fixed it. I don't know what brought about the need to modify .htaccess files, but apparently JaguarPC could have done a better job of doing it.


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks