-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Hi and thank you for this great plugin!
When using PHP as CGI / FastCGI this plugin may fail to work. You should add the following snippet to the description to be added to the .htaccess aftter RewriteEngine On:
# Make sure Authorization HTTP header is available to PHP
# even when running as CGI or FastCGI.
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Full example:
<IfModule mod_rewrite.c>
RewriteEngine On
# Make sure Authorization HTTP header is available to PHP
# even when running as CGI or FastCGI.
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
I think that will save people from trouble and you from "not working" messages ;)