g*****e 发帖数: 6 | 1 I want to password my directory in a unix system. I put
.htaccess file under the directory, then use htpasswd
program to set up users and passwords. The syntax taught on
some books is as follows:
htpasswd -c filename username
But when I use it accordingly, I got wrong messages. Here
are some help the htpasswd program gives:
Usage:
htpasswd help help on Usage.
htpasswd version display version
htpasswd [-i -h ] [-p] -r
-u
htpasswd [-i |
|