parse htm files for php under cgi

  • September 17, 2012
  • Apache

a few older sites that were built by fools using .htm as the extension and telling the apache to serve them up as .php were recently moved across to heart internet.

seeing as the php is running under cgi on heartinternet, we will need the following:

[code]AddHandler cgi-script .htm
SetEnv PHP_EXTENSION .htm[/code]

in the .htaccess file.




No Comments


No comments yet.



Leave a Reply

Your email address will not be published. Required fields are marked *