I'm currently working on migrating a rather large website from one server to another. The problem is that the pages on the old server use a very odd php tag within html files (the tags are '<!-- php code -->' ) and when I convert them to real php tags and add "addtype application/x-httpd-php .php .html" to httpd.conf (to parse html files with the php module) it doesn't work. When any page is brought up, the browser asks what you want to do with a file of type 'application/x-httpd-php' instead of viewing it.
I need to get the new (correct) tags working on the old machine before I can move everything over to the new server - there's just too much stuff to do it all at once - but the only way I know of to get php to parse .html files is with that addtype option. Is there another way I'm missing? The server is linux running apache 1.3.9 with php4.x as a module.
Or perhaps someone knows how the server was set up to parse those odd tags as php to begin with?
thanks