Hi,
I have a client who's site is hosted by GoDaddy. Ugh. I have successfully put php code into HTML pages and can get them to be parsed by modifying the .htacess file with a "AddHandler x-httpd-php .html .htm .cgi .php".
However, as soon as I add that to the .htaccess file, the stats interface that GoDaddy provides them does not work. I get this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at anokacountyonline.com Port 80
If I remove the .html from "AddHandler x-httpd-php .html .htm .cgi .php".
stats work again, but obviously my php does not. I have tried other AddHandler and AddType lines that do not work for the php side of it.
GoDaddy gives my client no access to error logs or any kind of access to the stats folder. I checked the .html pages in the stats folder and it's straight html. I am not sure why having .html parsed through php first would screw things up in the folder.
Any help appreciated!