RewriteEngine On

# If the requested path is an existing file or directory, serve it directly.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Otherwise route everything to index.php so identifiers like /HELLO work.
RewriteRule ^ index.php [L]
