1 2 3
RewriteEngine on RewriteCond %{REQUEST_METHOD} !^(DELETE|PUT) RewriteRule ^(.*)$ index.php?uri=$1 [L,QSA]