elvishsu66/PhpMvc/master/public/.htaccess
Options +FollowSymLinks
<IfModule mod_rewrite.c>
# Tell PHP that the mod_rewrite module is ENABLED.
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# RewriteBase /
RewriteRule ^(.*)$ index.php?_route=$1?%{QUERY_STRING} [PT,L]
</IfModule>
Files
