Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for authorization header under Apache #124

Merged
merged 1 commit into from
Mar 3, 2022

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