Files
JS/webseite-react-php-jwt/slim-php/public/.htaccess
2026-09-01 12:05:06 +02:00

13 lines
384 B
ApacheConf

# MAMP/Apache FastCGI verwirft Authorization sonst, bevor PHP es sieht.
CGIPassAuth On
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
DirectoryIndex index.php
RewriteEngine On
RewriteCond %{HTTP:Authorization} .
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]