DirectoryIndex index.php

<IfModule mod_rewrite.c>
RewriteEngine On
# Keep real files and directories accessible.
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

# Route clean TiviGlass API paths into the panel front controller.
RewriteRule ^(account|api)/(.*)$ index.php?route=/$1/$2 [QSA,L]
RewriteRule ^health/?$ index.php?route=/health [QSA,L]
</IfModule>
