Options -Indexes
RewriteEngine On

# Everything already routes through index.php?r=..., this just
# prevents direct 404s if someone hits a folder without a file.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
