Convert Htaccess To Web Config

Convert Htaccess To Web Config
I am hosted on an IIS server and need to have PHP read in .html extension files. I need the web.config file to read all files with a .HTML extension as a .PHP file.

I believe the .htaccess equivalent is:

AddHandler x-httpd-php .html .htm
AddType application/x-httpd-php .html .htm .php

Leave a Reply

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