Does anybody known how i can insert php code into .html files? what should i change in the .htaccess so it will eval some php code that is in html files? can i set-up the php-rewrite mode only for 1 single html page?! i have an file xxx.html that really,really need to remain xxx.html , not changed to xxx.php
try adding this to your htaccess AddType application/x-httpd-php .html If it is only one page: <Files yourpagename.html> AddType application/x-httpd-php .html </Files>
<Files yourpagename.html> AddType application/x-httpd-php .html </Files> this ones not working in general ? or not working on windows?!
html files can't execute php code. Use http://mod-rewrite-wizard.com/ to make htaccess codes for them to appear as html links