do you use different credentials for your Apache BasicAuth and for Checkmk?
My guess is you do and when Checkmk sees that header it tries to uses it and the authentication fails. There was some refactoring done in 2.2, not sure if that got a Werk though.
My suggestion would be to remove the Authorization header from the request within Apache.
While trying to reproduce this issue I added the following to my system Apache config:
<Location "/cmk/">
AuthType Basic
AuthName "Private Login"
AuthUserFile /etc/htpasswd
Require valid-user
RequestHeader unset Authorization # Removing the Authorization header to not confuse Checkmk
</Location>
With the RequestHeader I was able to login again. This required me to enable the headers mod via a2enmod headers.
Can you check if that helps?
If Max’s reply solved your question, please consider marking it as a solution – it is an option under the reply. That way you will be able to both say thank you, and also show everyone that the question is solved
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.