Thanks Mike - I did see your original post, and I am trying to get the page set up. Unfortunately we have infrastructure problems with the Studios website which is preventing them from fixing it right now. Sorry for the inconvenience and thanks for reminding us.
Comment
Looks like the link is still not working.
Hi Mike,
htpasswd is part of the Apache distribution 'httpd', so you can not get it directly.
Now I have uploaded htpasswd.exe.
You can refer to the manual page which only lists the command line arguments.
Qiao Liang.
No, I mean the first link in your original post is broken. It points here:
http://community.thoughtworks.com/posts/authentication
I did end up using the utility from the apache distro but I'm just letting you know that the link was broken.
Correct it by removing.
:P
Qiao Liang
Thanks Mike - I did see your original post, and I am trying to get the page set up. Unfortunately we have infrastructure problems with the Studios website which is preventing them from fixing it right now. Sorry for the inconvenience and thanks for reminding us.
The following Ruby snippet should get the job done:
require 'digest/sha1'
require 'base64'
'{SHA}' + Base64.encode64(Digest::SHA1.digest(password))
Of course htpasswd provides more options, but nice to know the above when you already have Ruby on your system ;)