Learning PHP and MySQL
Example 14-2 Creating an Apache password for .htaccess
htpasswd -c /usr/local/apache/passwd/passwords mdavis
The –c option is required only for adding the first entry to a password file. You’ll be prompted to enter the password twice to ensure you don’t have a typo. If the pass- words match, you’ll see the following:
Adding password for user mdavis
Posted by on 09/25 at 11:52 AM