You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2012/11/17 03:31:38 UTC
svn commit: r1410671 - /httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml
Author: rbowen
Date: Sat Nov 17 02:31:37 2012
New Revision: 1410671
URL: http://svn.apache.org/viewvc?rev=1410671&view=rev
Log:
Correctly indent the example so that it's more readable.
Modified:
httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml
Modified: httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml?rev=1410671&r1=1410670&r2=1410671&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/howto/auth.xml Sat Nov 17 02:31:37 2012
@@ -329,8 +329,9 @@ person in</title>
(It's the <code>-c</code> that makes it create a new password
file).</p>
- <p>Now, you need to modify your <code>.htaccess</code> file to
- look like the following:</p>
+ <p>Now, you need to modify your <code>.htaccess</code> file or
+ <directive module="core" type="section">Directory</directive>
+ block to look like the following:</p>
<example>
AuthType Basic<br />
@@ -401,11 +402,13 @@ Require group GroupName
<example>
<Directory /www/docs/private><br />
+ <indent>
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider dbm<br />
AuthDBMUserFile /www/passwords/passwd.dbm<br />
Require valid-user<br />
+ </indent>
</Directory>
</example>