wolfwings: (Default)
[personal profile] wolfwings
...since I'm running a web server without Apache anywhere to be seen, pure NGinx, I didn't have the htpasswd utility available from the Apache distribution.

The htpasswd utility from Apache is quite bloated with extra features and complexity as well, far beyond that is usually needed for simply adding a new BasicAuth entry to a .htpasswd file or similair. So... I read the docs, wrote my own specifically for use with NGinx's BasicAuth module.

htpasswd.tar.bz2

Download, unpack, make, ./htpasswd for usage. It's less than a thousand bytes, punt it around. Hell, it's short enough to be a Data URI, though none of the browsers out there allow downloads from Data URI's that I've tested.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Style Credit