Changes

From Amahi Wiki
Jump to: navigation, search
99 bytes added ,  21:09, 10 August 2011
*There are two options for creating the <code>htpasswd</code> and <code>.htaccess</code> files:
#Navigate to [http://www.webmaster-toolkit.com/htaccess-generator.shtml .htaccess Generator].
#Perform the following steps [[Open_Terminal_as_root|as root user]] ('''NOTE:''' the -c option is only needed the first time you create the file for that web application):
{{Code|htpasswd -c -b htpasswd username password}}
To add additional users, repeat the previous step (('''NOTE:''' the -c option is only needed the first time you create the file for that web application):{{Code|htpasswd -b htpasswd username password}}
The <code>htpassword</code> file should look similar to this:
{{Text|username:3Ce3F4zRcVf42}}
12,424

edits