I'm creating a mvc structure in a host location but I want to test the views directly in the browser, and for that I thought about using htaccess
RewriteEngine On
Internal redirect
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /php/index.php/$1 [L]
But this way it's 500 error on the local server, but this error is resolved if I delete or leave the htaccess file blank.
Is there any way I can do this on localhost?