I’ve one particular case where I can replace the .html for .php extension on my website, this mostly because I do have tons of html pages crawled for search engines and using 301 will be a nightmare so, I hope there’s something we can do about this.
Currently i’m using on my htaccess file this 2 lines:
AddType text/html .htm .html .shtm .shtml .sht
AddHandler server-parsed .htm .html .shtml .sht .shtm
As I call some ssi calls on my html pages
Doing a research on the web, I found this possibilities:
AddType application/x-httpd-php .html .htm .php
AddHandler x-httpd-php .html .htm .cgi .php
AddType x-mapp-php4 .html .htm .php
AddHandler server-parsed .html .htm .php
AddType application/x-httpd-php4 .htm .html .php
AddHandler application/x-httpd-php5 .html .htm .php
I’ll like to know if I need something to put any of this together with the current ones without affecting the final result.
Thanks for your help and pointing me to the right direction on this.
FYI, I’m running PHP as CGI/phpsuexec (it might be usefull to know).