Options -Indexes -MultiViews
DirectoryIndex index.php
<IfModule mod_authz_core.c>
 <FilesMatch "\.(sql|md|txt|log|enc|json)$">
  Require all denied
 </FilesMatch>
</IfModule>

# Batch 32: explicit PHP-backed clean routes, including subfolder installations.
<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^ clean-route.php [END]
</IfModule>

# Preserve Bearer tokens for Case Files Mobile on Apache.

# Case Files Mobile: preserve Bearer authorization
SetEnvIfNoCase Authorization "^(.+)$" HTTP_AUTHORIZATION=$1
