I had been searching for b .htaccess that rewrites my .php files from the specific folder.

For instance after i access filename.html to exhibit me filename.php(parsed and performed) so when i access filename.php to provide me 404. This it things i have to date

Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^([^.]+)\.html$ $1.php [L]

and belive me which i looked before. It does not work ...

Is really posible?

Can you've got a solution for your please?


I'd have believed that something similar to this could work:

RewriteRule ^(.*).html$ $1.php [L]