FallbackResource doesn't rewrite php files

147 Views Asked by At

I'm just using the following .htaccess config. But when I try to access a non-existent .php file, eg. xyz.php, the server returns a 404 instead of rewriting to index.php. What am I missing?

RewriteEngine on
FallbackResource /index.php
0

There are 0 best solutions below