Htaccess force fichiers html manipulé comme php

Fermé
08815266 Messages postés 52 Date d'inscription jeudi 7 janvier 2010 Statut Membre Dernière intervention 28 février 2017 - 6 avril 2016 à 14:53
blux Messages postés 26019 Date d'inscription dimanche 26 août 2001 Statut Modérateur Dernière intervention 2 mai 2024 - 6 avril 2016 à 14:54
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]


A voir également:

1 réponse

blux Messages postés 26019 Date d'inscription dimanche 26 août 2001 Statut Modérateur Dernière intervention 2 mai 2024 3 289
6 avril 2016 à 14:54
Hello,

you're on a french speaking forum, please re-ask your question...
0