My Profile Photo

Ionut Gavrilut


DevOps Enthusiast | Linux System Administrator | Certified Jenkins Engineer


Apache Basic Auth keeps prompting for password (401 Unauthorized)

In my case, after a successfully login, Apache forwarded credentials to Jira/Confluence/Jenkins and tried to login there, resulting 401 errors. For this, I unset the Authorization header in Location directive (with mod_headers module).

  <Location "/">
    ...
    RequestHeader unset "Authorization"
    ...
  </Location>