Options -Indexes
RewriteEngine On

# Permitir acceso directo a archivos y carpetas reales
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Todo lo demás pasa por index.php
RewriteRule ^ index.php [QSA,L]
