Htaccess force fichiers html manipulé comme php
Bonjour,
We are trying to configured HTACCESS to process HTML thru the php handler but every option we have tried does not work.
Below are all that we have tried without success.
Please advise how to get this accomplished
#AddHandler application/x-httpd-php54 .htm .html
#AddHandler application/x-httpd-php5 .html .htm
#AddType application/x-httpd-php .html .htm
#AddType application/x-httpd-php .php .html
#AddType application/x-httpd-php5 .html .htm
#AddType application/x-httpd-php .php .htm .html
#AddType x-mapp-php5 .html .htm
#RewriteRule \.(html|htm)$ - [H=application/x-httpd-php5]
#RewriteRule \.(html|htm)$ - [T=application/x-httpd-php5]
We are trying to configured HTACCESS to process HTML thru the php handler but every option we have tried does not work.
Below are all that we have tried without success.
Please advise how to get this accomplished
#AddHandler application/x-httpd-php54 .htm .html
#AddHandler application/x-httpd-php5 .html .htm
#AddType application/x-httpd-php .html .htm
#AddType application/x-httpd-php .php .html
#AddType application/x-httpd-php5 .html .htm
#AddType application/x-httpd-php .php .htm .html
#AddType x-mapp-php5 .html .htm
#RewriteRule \.(html|htm)$ - [H=application/x-httpd-php5]
#RewriteRule \.(html|htm)$ - [T=application/x-httpd-php5]