##Enter desired Username, Password, and Path (physical location where <code>htpassword</code> will be stored).
##Select the '''Generate .htaccess''' button.
##Copy the text in ''"This is what your .htaccess file should look like..."'' box and paste it into the <code>.htacess</code> file in the web appllication application html directory(i.e. /var/hda/web-apps/linfo/html).##Next copy the text from ''"And this is what your .htpasswd file should look like..."'' box and paste it into the <code>.htpassword</code> file in then web application directory(i.e. /var/hda/web-apps/linfo).
#Perform the following steps [[Open_Terminal_as_root|as root user]]:
{{Code|htpasswd -c -b htpasswd username password}}