There is no error message from what I have seen, but nothing seems to be working…
I’m trying to get php code into .html files. It does not work by default, and that’s fine. I create a .htaccess file in the htdocs file in my directory, at put in the following code:
AddType application/x-httpd-php .htm .html
I save the file and try to make php code in an html file, but it’s not doing anything. I think it’s that the .htaccess isn’t working.
I have not found any error messages. (In the file or the website page)
For going to route you took, I’m not sure if that works here. It might be that the line is wrong, I see examples with AddHandler instead of AddType and different content types too. And it might be that these .htaccess directives are not allowed on our hosting.