Skip to content

php-cgi does not pass HTTP basic authentication #131

@pondermatic

Description

@pondermatic

I installed Learning Locker on a server with Apache, FastCGI and PHP, but could not send learning statements until I added the following to .htaccess

# php-cgi under Apache does not pass HTTP Basic user/pass to PHP by default
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions