|
One of my devs is having an issue pushing to our repo. Here's a snippet from his client-side:
He should be authorized. The relevant portion of our .htaccess looks like this:
And /home/user/htpasswd has the following:
Where he is user3. I (user1) can push without any issues. So we're at our wits' end. Thoughts? Edit: In response to ryans's answer, I confirmed that our password is correct:
Still getting the same error with HTTP code 401. Edit 2: On a whim, I changed the relevant line of our git app's .htaccess to point to /home/user/webapps/git/.htpasswd and copied /home/user/htpasswd to that location. In my testing, this now works. Our dev is unavailable, but I'm assuming it'll work for him as well. Previously /home/user/webapps/git/.htpasswd had had entries for user1 and user2, so I'm guessing we didn't see any problems because git was just looking there. user3 only had an entry in our central htpasswd file. So now I'm curious why git would care where I put my htpasswd file. |
What version of git is user3 running on the client side?
user3 is running 1.7.3.1. So am I. On the server side it's 1.7.2.