RewriteEngine On

# Existing public files are served normally; all other URLs use the app router.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [END]

RewriteRule ^ index.php [QSA,END]
