Apache basic authentication password creation

# see http://passwordsgenerator.net/

# -c option means to create the passwords file
/ffp/opt/apache-2.2.9-prefork/bin/htpasswd -c -m passwords_file_path user_name1
# -m option means to add/modify the user user_name2
/ffp/opt/apache-2.2.9-prefork/bin/htpasswd -m passwords_file_path user_name2
# -D option means to delete the user user_name3
htpasswd -D passwords_file_path user_name3

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.