Legacy Documentation
You are using the documentation for version 4.3.8. Go here for the latest version.
“Enable HTTP Authentication?” Setting Not Working¶
If you’ve enabled HTTP Authentication for a template and authentication is failing:
- Dirst check to make sure that you’ve also given access to the desired member group(s), and that the user you are authenticating with is from one of those groups.
- Double check that the username and password is correct by logging in to ExpressionEngine as that member.
If it still fails to authenticate, it could be that the web server is not making the authentication details available to PHP (and thus unavailable to ExpressionEngine). This is common when the web server is running PHP-FPM and Apache for instance. In those cases, you can fix this by adding the following to the Apache VirtualHost or in your .htaccess:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
or:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]