# SHC Health — runs at /shc-health/ on cPanel (Apache)
DirectoryIndex index.html
Options -MultiViews
RewriteEngine On
RewriteBase /shc-health/

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]

RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule ^(.*)$ $1/ [R=301,L]

RewriteRule ^ index.html [L]
