WordPress Authorization header not received

If you are getting this error when trying to get miniorange basic authentication to work.

Authorization header not received. Either authorization header was not sent or it was removed by your server due to security reasons.

Try using the following in your apache2.conf file. Note RewriteEngine On needs to be enabled before these settings.

RewriteCond %{HTTP:Authorization} ^(.) 
RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Leave a Reply

Your email address will not be published. Required fields are marked *