1 # Disable directory listing
6 # Prevent accessing subdirectories not managed by SCM
7 RewriteRule ^(.git|doxygen|vendor) - [F]
9 # Forward the "Authorization" HTTP header
10 # fixes JWT token not correctly forwarded on some Apache/FastCGI setups
11 RewriteCond %{HTTP:Authorization} ^(.*)
12 RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
15 RewriteCond %{REQUEST_FILENAME} !-f
16 RewriteCond %{REQUEST_FILENAME} !-d
17 RewriteRule ^ index.php [QSA,L]
19 <LimitExcept GET POST PUT DELETE PATCH OPTIONS>
20 <IfModule version_module>
30 <IfModule !version_module>