Minor utility-dump...
Nov. 16th, 2009 07:42 am...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.
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.