kess 2003/01/08 14:18:01
Modified: htdocs/manual/howto auth.html
Log:
fix PR 15577 as reportet by <[EMAIL PROTECTED]> (D Monroe)
Revision Changes Path
1.10 +13 -14 httpd-docs-1.3/htdocs/manual/howto/auth.html
Index: auth.html
===================================================================
RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/howto/auth.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- auth.html 17 Nov 2002 01:56:39 -0000 1.9
+++ auth.html 8 Jan 2003 22:18:01 -0000 1.10
@@ -13,12 +13,12 @@
<h1 align="center">Authentication, Authorization, and Access
Control</h1>
- <a name="TOC"></a>
+ <a name="TOC"></a>
<ul>
<li><a href="#intro">Introduction</a></li>
<li>
- <a href="#basic">Basic authentication</a>
+ <a href="#basic">Basic authentication</a>
<ul>
<li><a href="#basicworks">How basic
@@ -26,13 +26,13 @@
<li>
<a href="#basicconfig">Configuration:
- Protecting content with basic authentication</a>
+ Protecting content with basic authentication</a>
</li>
<li>
<a href="#basicfaq">Frequently asked
- questions about basic auth</a>
+ questions about basic auth</a>
</li>
<li><a href="#basiccaveat">Security
@@ -42,7 +42,7 @@
</li>
<li>
- <a href="#digest">Digest authentication</a>
+ <a href="#digest">Digest authentication</a>
<ul>
<li><a href="#digestworks">How digest auth
@@ -50,7 +50,7 @@
<li>
<a href="#digestconfig">Configuration:
- Protecting content with digest authentication</a>
+ Protecting content with digest authentication</a>
</li>
<li><a href="#digestcaveat">Caveats</a></li>
@@ -60,7 +60,7 @@
<li>
<a href="#database">Database authentication
- modules</a>
+ modules</a>
<ul>
<li><a href="#modauthdb">mod_auth_db and
@@ -72,14 +72,14 @@
<li>
<a href="#authdbconfig">Protecting a
- directory with mod_auth_db</a>
+ directory with mod_auth_db</a>
</li>
</ul>
<br />
</li>
<li>
- <a href="#access">Access control</a>
+ <a href="#access">Access control</a>
<ul>
<li><a href="#allowdeny">Allow and Deny</a></li>
@@ -185,7 +185,7 @@
<p>Along with the <tt>401</tt> response, certain other
information will be passed back to the client. In particular,
it sends a name which is associated with the protected area of
- the web site. This is called the <i>realm</i>, or just the
+ the web site. This is called the <i>realm</i>, or just the
authentication name. The client
browser caches the username and password that you supplied, and
stores it along with the authentication realm, so that if other
@@ -624,7 +624,7 @@
Additional information and resources about MD5 can be found at
<tt>http://userpages.umbc.edu/ mabzug1/cs/md5/md5.html</tt></p>
- <h2><a name="digestconfig"></a>Configuration:
+ <h2><a name="digestconfig"></a>Configuration:
Protecting content with digest authentication</h2>
<p>The steps for configuring your server for digest
@@ -967,7 +967,7 @@
$username = 'rbowen';
$password = 'mypassword';
@chars=(0..9,'a'..'z');
-$salt = '', map { $chars[int rand @chars] } (0..1);
+$salt = $chars[int rand @chars] . $chars[int rand @chars];
$crypt = crypt($password, $salt);
$database{$username} = $crypt;
@@ -1187,5 +1187,4 @@
<hr />
</body>
-</html>
-
+</html>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]