Hello,
A client of ours wants to embed PHP codes within html pages. So I went in our apache conf file and added this line:
AddType application/x-httpd-php .php .php3 .php4 .html .htm .shtml
From what I understand, when this is added, people will be able to use regular .html pages while having php codes within the html pages. But after I restarted apache, everytime when I try to access a normal html page, all it does is try to download the file. I don't know why this is happening.
Files using the .php/php3/php4 extensions all work fine, they execute php just fine. But when it comes to normal .html files, the server doesn't seem to know what to do with it. All it does is prompt if you would like to open the file or save it.
This is a big issue because we have clients who wish to use normal html pages without PHP. How can I get them to work so that the server will still run .html pages the way they are normally run? Any help would be greatly appreciated. Thank you.