Looks like your problem is related to enabling of MultiViews
here. Turn it off by using this line on top of your .htaccess:
Options -MultiViews
- Option
MultiViews
is used byApache's content negotiation module
that runs beforemod_rewrite
and and makes Apache server match extensions of files. So/file
can be in URL but it will serve/file.php
.