add: webseite mit jwt
This commit is contained in:
12
webseite-react-php-jwt/slim-php/public/.htaccess
Normal file
12
webseite-react-php-jwt/slim-php/public/.htaccess
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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]
|
||||
Reference in New Issue
Block a user