# Hide contents of directories!
Options -Indexes

RewriteEngine On

# Redirect to index.php except when requesting a file in static/ or build/
# This prevents access to all other files.
RewriteCond $1 !^(static/|build/|docs).*$
RewriteRule ^(.*)$ index.php [L]
