RewriteEngine On

# Se existir arquivo/diretório, entrega direto
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Caso contrário, manda pro index.php
RewriteRule ^ index.php [L]
