Forum Moderators: coopster
What can I do?
Thanks for your help!
AddType application/x-httpd-php .php .htm .html
Basically it is saying "if I see any requests for documents of type
.php .htm or .html, I'll process them with the PHP parser."
Thanks for your help
go to the root of your website with your ftp client, see if there is a file called: .htaccess
If there is one, download it to your computer.
Open it up in a text editing application, your html editor is fine (be careful if you use something like ms notepad though, since it always tries to save things as .txt if you don't force it not to.
Look for the line:
AddType application/x-httpd-php .php .htm .html
If it's not there, add that line under the last current line, hit enter to create a line break, save the file as .htaccess, upload it back to your root directory.
If there was no .htaccess file, create one with just that one line, hit enter to create the linebreak, save it, and upload it.
If your site is running apache, that should do it.
.htaccess files are worth reading about, since they give you a lot of control over many aspects of your site, like creating custom page missing 404 pages for example.