summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_authn_file.xml
diff options
context:
space:
mode:
authorDaniel Earl Poirier <poirier@apache.org>2010-10-30 22:14:38 +0200
committerDaniel Earl Poirier <poirier@apache.org>2010-10-30 22:14:38 +0200
commit745905a67d791a6370d8fcf4b64fa4fc035e87d2 (patch)
tree3f4b21ea78543fc35a197cf5c1ce1cf1537d7af2 /docs/manual/mod/mod_authn_file.xml
parentClarify that when troubleshooting .htaccess files, you need to reload (diff)
downloadapache2-745905a67d791a6370d8fcf4b64fa4fc035e87d2.tar.xz
apache2-745905a67d791a6370d8fcf4b64fa4fc035e87d2.zip
Point out that the format of encrypted passwords depends on
whether you're using mod_authn_basic or mod_authn_digest. Reported by Josef Spillner, PR46672. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1029180 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_authn_file.xml')
-rw-r--r--docs/manual/mod/mod_authn_file.xml16
1 files changed, 10 insertions, 6 deletions
diff --git a/docs/manual/mod/mod_authn_file.xml b/docs/manual/mod/mod_authn_file.xml
index d95bd7635f..f6e228b9f1 100644
--- a/docs/manual/mod/mod_authn_file.xml
+++ b/docs/manual/mod/mod_authn_file.xml
@@ -49,6 +49,7 @@
</seealso>
<seealso><program>htpasswd</program></seealso>
<seealso><program>htdigest</program></seealso>
+<seealso><a href="../misc/password_encryptions.html">Password Formats</a></seealso>
<directivesynopsis>
<name>AuthUserFile</name>
@@ -71,10 +72,15 @@ passwords for authentication</description>
ID is defined multiple times, <module>mod_authn_file</module> will
use the first occurrence to verify the password.</p>
- <p>The utility <program>htpasswd</program>
+ <p>The encrypted password format depends on which authentication
+ frontend (e.g. <module>mod_authn_basic</module> or
+ <module>mod_authn_digest</module>) is being used. See <a
+ href="../misc/password_encryptions.html">Password Formats</a> for
+ more information.</p>
+
+ <p>For <module>mod_authn_basic</module>, use the utility <program>htpasswd</program>
which is installed as part of the binary distribution, or which
- can be found in <code>src/support</code>, is used to maintain
- the password file for <em>HTTP Basic Authentication</em>. See the
+ can be found in <code>src/support</code>. See the
<a href="../programs/htpasswd.html">man page</a> for more details.
In short:</p>
@@ -98,9 +104,7 @@ passwords for authentication</description>
module="mod_authn_dbm">AuthDBMUserFile</directive> should be used
instead.</p>
- <p>If you are using <em>HTTP Digest Authentication</em>, the <program>
- htpasswd</program> tool is not sufficient.
- You have to use <program>htdigest</program>
+ <p>For <module>mod_authn_digest</module>, use <program>htdigest</program>
instead. Note that you cannot mix user data for Digest Authentication
and Basic Authentication within the same file.</p>