* you can go to a [http://www.webmaster-toolkit.com/htaccess-generator.shtml public htaccess/htpasswd generator] and copy the contents of what the "And this is what your .htpasswd file should look like..." box has
* or you can use the htpasswd command (first time with -c)
{{Code|htpasswd -c .htpasswd USERNAME}}
The file should contain lines like this: {{Text|USERNAME:3Ce3F4zRcVf42}}
The file should be owned by apache:apache and have 600 permissions, so copy it over, then, as root:
{{Code|cp .htpasswd /var/hda/web-apps/htpasswd chmod 600 /var/hda/web-apps/htpasswd chown apache:apache /var/hda/web-apps/htpasswd}}
= If you have webmin installed =