We started including some PHP into our web pages, but we wanted to keep our incoming links working. Instead of a bunch of redirects, we simply mapped HTML files to PHP via:
AddType application/x-httpd-php .html
All was well for a few months. Then the the host operators did something to the server (Follow-up: It turned out that the PHP engine was switched), and browsers started downloading the files with the PHP code included (rather than viewing them). They said that we to change our .htaccess file to:
AddType x-httpd-php .html
Is the lack of "application/" newer? Or could they change something again later requiring us to go back?
Is there a more robust way to map .HTML to PHP?