Files
testRestApi/webroot/.htaccess
T
2026-10-21 18:34:35 +02:00

9 lines
329 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
# Pass the Authorization header (JWT Bearer) to PHP - Apache/PHP-FPM strips it otherwise
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>