Options -Indexes
RewriteEngine On

# Serve existing public files directly.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Front controller.
RewriteRule ^ index.php [L,QSA]
