I am working on a very old and messy site, which doesn't have a CMS, or a database. However, it has a lot of .htm
and .php
files. I need to add some PHP code to some of the .htm
files, but want to leave the URL as is.
Long story short, is there any problem, or security concern, when enabling PHP script execution for .htm
files globally, via Apache's .htaccess
?
What could go wrong? Specifically, I am talking about this configuration change in my Apache web server:
AddType application/x-httpd-php .html .htm