# Lets the CRM call  <app folder>/api/v1/...  and passes the Authorization header to PHP on shared hosts.
Options -Indexes
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^v1/(.*)$ provision_api.php/v1/$1 [L,QSA]
<Files "provision_lib.php">
  Require all denied
</Files>
<Files "create_api_client.php">
  Require all denied
</Files>
