]> granicus.if.org Git - apache/commitdiff
Attempt to close pr 4808 Can you mention htpassword in the mod_auth documentation.
authorDirk-Willem van Gulik <dirkx@apache.org>
Wed, 4 Aug 1999 22:03:04 +0000 (22:03 +0000)
committerDirk-Willem van Gulik <dirkx@apache.org>
Wed, 4 Aug 1999 22:03:04 +0000 (22:03 +0000)
PR: 4808
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83572 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_auth.html

index e81babc5e12d71e22322016ffab9fd3dff353fd3..a3f85d54be623865836b083ecaab8092b9611fee 100644 (file)
@@ -103,6 +103,19 @@ slash), it is treated as relative to the ServerRoot.
 <P> Each line of the user file file contains a username followed
 by a colon, followed by the crypt() encrypted password. The behavior
 of multiple occurrences of the same user is undefined.
+<P>
+The utility <code>htpasswd</code> which is installed as part of the
+binary distribution, or which can be found in <code>src/support</code>,
+is used to maintain this password file. See the <code>man</code>
+page for more details. In short
+<p>
+<blockquote>
+       <code>htpasswd -c Filename username</code><br>
+       Create a password file 'Filename' with 'username'
+       as the initial ID. It will prompt for the password.
+       <code>htpasswd Filename username2</code><br>
+       Adds or modifies in password file 'Filename' the 'username'.
+</blockquote>
 <P> Note that
 searching large text files is <EM>very</EM> inefficient;
 <A HREF="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</A> should be