Apache httpd

set password

 * Reference:
 * http://httpd.apache.org/docs/2.0/howto/auth.html

htpasswd -c /somewhere/my_password.txt userabc
 * The following command create a new file "my_password.txt" (if not exists) and set the password for user "userabc"


 * Example in httpd.conf

AuthType Basic AuthName "Restricted Files" AuthUserFile /somewhere/my_password.txt Require user userabc

DirectoryIndex index.html Options FollowSymLinks MultiViews AllowOverride None order allow,deny allow from all

