[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Password Protect a Directory
- Subject: Re: [cobalt-users] Password Protect a Directory
- From: PyschoCotic@xxxxxxx
- Date: Sat Apr 29 22:42:55 2000
I modified a script that was designed to create a .htpasswd file and made it
able to create .htaccess files, detect the domain name on RaQ3's, detect the
full path, and remove/modify passwords and usernames. The script requires
the directory to be already made in the /web dir (for example)...
/home/sites/www.yourdomain.com/web/members
Instead of entering that whole thing in the interface all thats required is
you enter /members and it detects the domain and full path to the web
directory. Its to long to post however you can download it from:
http://www.freehostin.net/members/cgi-library/access.txt
Obviously rename it to .cgi. The script requires NO modifications, you can
easily distribute it into your client's CGI-Bins without modifing it for each
domain. I made it custom for the RaQ3... Do not remove copyright headers,
its not mine to begin with :-)
~Randy