I don't believe either MSA or NMS have CGI login scripts, so you might want to check out some of the general script listings, like The Perl Archive's section on Password Protection Scripts.
But I have to confess to being a little confused: why do you need a CGI login script that uses .htaccess when .htaccess provides it's own login capabilities?
If all you're really after is a CGI to adminster .htpasswd files for use with .htaccess-protected sites, then I suggest Lincoln Stein's excellent user_manage (alt.) -- if not the script itself, then certainly the modules it's bundled with.
--k.
|