Skip to main content

Posts

Showing posts from July, 2015

Internal Server Error 500 + Apache + GoDaddy + .htaccess

A customer website hosted at GoDaddy suddenly started displaying the message: "Internal Server Error 500."  I quickly determined the problem was with the .htaccess file.  I knew this file had been unchanged for quite some time and it was clear to me the problem was with how Apache on that specific GoDaddy server was processing the .htaccess file.  I noticed that other customer websites on other servers at GoDaddy using the same .htaccess file continued to operate normally.  The only lines in the .htaccess file were the following: AddHandler fcgid-script .html FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html I replaced it with this: AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .htm .html The Internal Server Error is no longer present and PHP functionality has returned to HTML files.  However, days later, the problem recurred. GoDaddy was unable to identify the source of the issue on their Server.  Therefore, the solution was to reset ...