Skip to content

Conversation

@SimonFrings
Copy link
Contributor

This pull requests adds an additional line of configuration to the .htaccess file to support authorization headers under Apache.

I ran into this problem when I was setting up a new project which sets the HTTP Authorization header. It seems like Apache does not pass the Authorization header by default, because the default setting for the CGIPassAuth is Off, according to Apache's documentation. The same issue has been reported in several forums e.g. this one on stackoverflow.

Adding these instructions to the .htaccess causes the authorization header to be passed along 👍

Inside our acceptance tests we're using the php docker image which has special configuration settings for Apache, thus sending the Authorization header along without any additional adjustments needed.

@clue clue added the documentation Improvements or additions to documentation label Mar 3, 2022
Copy link
Owner

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SimonFrings Thanks for looking into this, changes LGTM! :shipit:

@clue clue merged commit 9b552ae into clue:main Mar 3, 2022
@SimonFrings SimonFrings added this to the v0.8.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants