]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Correctly indent the example so that it's more readable.
authorRich Bowen <rbowen@apache.org>
Sat, 17 Nov 2012 02:31:37 +0000 (02:31 +0000)
committerRich Bowen <rbowen@apache.org>
Sat, 17 Nov 2012 02:31:37 +0000 (02:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1410671 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/auth.xml

index d3c339a49eb23280c3ee4c1bd738fc1aab28332d..64e5adbb218850bf5f3cec282e465ace540cb7cd 100644 (file)
@@ -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>
     &lt;Directory /www/docs/private&gt;<br />
+    <indent>
     AuthName "Private"<br />
     AuthType Basic<br />
     AuthBasicProvider dbm<br />
     AuthDBMUserFile /www/passwords/passwd.dbm<br />
     Require valid-user<br />
+    </indent>
 &lt;/Directory&gt;
     </example>