+/-
httpd.conf

codice:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{THE_REQUEST} .*\.php
RewriteRule ^.*\.php$ file_errore.html [R,L]
RewriteRule ^(.*)\.html$ $1.php [T=application/x-httpd-php]
</IfModule>