Changes

From Amahi Wiki
Jump to: navigation, search
139 bytes added ,  02:05, 11 August 2011
*Enter desired Username, Password, and Path (physical location where <code>.htpasswd</code> will be stored). For example, Username '''''amahi''''', Password '''''amahi''''', and Path '''''/var/hda/web-apps/linfo'''''.
*Select the '''Generate .htaccess''' button.
*Create <code>.htacess</code> file in the web application html directory (i.e. /var/hda/web-apps/linfo/html). 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 application html directory (i.e. /var/hda/web-apps/linfo/html). It should look similar to this:
{{Text|AuthUserFile /var/hda/web-apps/linfo/.htpasswd
AuthGroupFile /dev/null
require valid-user
</limit>}}
*Next copy create <code>.htpasswd</code> file in then web application directory (i.e. /var/hda/web-apps/linfo). Copy the text from ''"And this is what your .htpasswd file should look like..."'' box and paste it into the <code>.htpasswd</code> file in then web application directory (i.e. /var/hda/web-apps/linfo). It should look similar to this:
{{Text|amahi:amb24e1pXrqFY}}
*Proceed to the '''Set the Permissions''' section to complete.
12,424

edits