13 lines
384 B
ApacheConf
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]
|