marcosalm/MVC-sample/master/.htaccess
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f # caso usar framework on root url "http://dominio/" deixar : RewriteRule ^(.+)$ /index.php/$1 # caso usar framework em url personalizada "http://dominio/path" deixar : RewriteRule ^(.+)$ /path/index.php/$1 RewriteRule ^(.+)$ /mvc/index.php/$1
Files
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/marcosalm/MVC-sample-htaccess.png)