Htaccess force le traitement des fichiers html comme php
Bonjour,
On a essayé de configurer htaccess de considérer HTML comme PHP Handler mais tous les test sont échoué.
#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]
Merci de me conseillé.
On a essayé de configurer htaccess de considérer HTML comme PHP Handler mais tous les test sont échoué.
#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]
Merci de me conseillé.