summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2010-05-10 14:50:09 +0000
committerRich Bowen <rbowen@apache.org>2010-05-10 14:50:09 +0000
commit3853fbf5ec913879bf9ec0be9d6cd085efd96f12 (patch)
tree781c3c4e69d8933d8e7d5563d34e14fe83ccfc78
parentfacb3ef7ec956f806e4e2b23e3a4318e4fecb4f0 (diff)
downloadhttpd-3853fbf5ec913879bf9ec0be9d6cd085efd96f12.tar.gz
Formatting of examples.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@942761 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/howto/auth.html.en6
-rw-r--r--docs/manual/howto/auth.xml6
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/manual/howto/auth.html.en b/docs/manual/howto/auth.html.en
index 6050ed64bc..1907e9d068 100644
--- a/docs/manual/howto/auth.html.en
+++ b/docs/manual/howto/auth.html.en
@@ -373,11 +373,13 @@ person in</a></h2>
<div class="example"><p><code>
&lt;Directory /www/docs/private&gt;<br />
+ <span class="indent">
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider dbm<br />
AuthDBMUserFile /www/passwords/passwd.dbm<br />
Require valid-user<br />
+ </span>
&lt;/Directory&gt;
</code></p></div>
@@ -396,12 +398,14 @@ person in</a></h2>
<div class="example"><p><code>
&lt;Directory /www/docs/private&gt;<br />
+ <span class="indent">
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider file ldap<br />
AuthUserFile /usr/local/apache/passwd/passwords<br />
AuthLDAPURL ldap://ldaphost/o=yourorg<br />
Require valid-user<br />
+ </span>
&lt;/Directory&gt;
</code></p></div>
@@ -420,6 +424,7 @@ person in</a></h2>
<div class="example"><p><code>
&lt;Directory /www/docs/private&gt;<br />
+ <span class="indent">
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider file<br />
@@ -428,6 +433,7 @@ person in</a></h2>
AuthGroupFile /usr/local/apache/passwd/groups<br />
Require group GroupName<br />
Require ldap-group cn=mygroup,o=yourorg<br />
+ </span>
&lt;/Directory&gt;
</code></p></div>
diff --git a/docs/manual/howto/auth.xml b/docs/manual/howto/auth.xml
index 618bc5a45f..8d2533de93 100644
--- a/docs/manual/howto/auth.xml
+++ b/docs/manual/howto/auth.xml
@@ -370,11 +370,13 @@ person in</title>
<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>
@@ -393,12 +395,14 @@ person in</title>
<example>
&lt;Directory /www/docs/private&gt;<br />
+ <indent>
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider file ldap<br />
AuthUserFile /usr/local/apache/passwd/passwords<br />
AuthLDAPURL ldap://ldaphost/o=yourorg<br />
Require valid-user<br />
+ </indent>
&lt;/Directory&gt;
</example>
@@ -417,6 +421,7 @@ person in</title>
<example>
&lt;Directory /www/docs/private&gt;<br />
+ <indent>
AuthName "Private"<br />
AuthType Basic<br />
AuthBasicProvider file<br />
@@ -425,6 +430,7 @@ person in</title>
AuthGroupFile /usr/local/apache/passwd/groups<br />
Require group GroupName<br />
Require ldap-group cn=mygroup,o=yourorg<br />
+ </indent>
&lt;/Directory&gt;
</example>