.htaccess 403 B

12345678910
  1. # LYNX crash-report API. Only the two endpoints are reachable; the shared code and the fallback storage are not.
  2. Options -Indexes
  3. <FilesMatch "^_">
  4. Require all denied
  5. </FilesMatch>
  6. RedirectMatch 404 ^/api/_storage(/|$)
  7. # hosts that strip the Authorization header from PHP: pass it on
  8. RewriteEngine On
  9. RewriteCond %{HTTP:Authorization} .
  10. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]