summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_auth_basic.html.en
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/mod/mod_auth_basic.html.en')
-rw-r--r--docs/manual/mod/mod_auth_basic.html.en30
1 files changed, 10 insertions, 20 deletions
diff --git a/docs/manual/mod/mod_auth_basic.html.en b/docs/manual/mod/mod_auth_basic.html.en
index 276169c4ab..b9a3dd3edd 100644
--- a/docs/manual/mod/mod_auth_basic.html.en
+++ b/docs/manual/mod/mod_auth_basic.html.en
@@ -110,11 +110,9 @@ username and password</td></tr>
<p>In this example, we pass a fixed username and password to a
backend server.</p>
- <div class="example"><h3>Fixed Example</h3><pre class="prettyprint lang-config">
-&lt;Location /demo&gt;
+ <div class="example"><h3>Fixed Example</h3><pre class="prettyprint lang-config">&lt;Location /demo&gt;
AuthBasicFake demo demopass
-&lt;/Location&gt;
- </pre>
+&lt;/Location&gt;</pre>
</div>
<p>In this example, we pass the email address extracted from a client
@@ -123,11 +121,9 @@ username and password</td></tr>
directive. Like the FakeBasicAuth option, the password is set to the
fixed string "password".</p>
- <div class="example"><h3>Certificate Example</h3><pre class="prettyprint lang-config">
-&lt;Location /secure&gt;
+ <div class="example"><h3>Certificate Example</h3><pre class="prettyprint lang-config">&lt;Location /secure&gt;
AuthBasicFake %{SSL_CLIENT_S_DN_Email}
-&lt;/Location&gt;
- </pre>
+&lt;/Location&gt;</pre>
</div>
<p>Extending the above example, we generate a password by hashing the
@@ -135,18 +131,14 @@ username and password</td></tr>
backend server. This can be used to gate into legacy systems that do
not support client certificates.</p>
- <div class="example"><h3>Password Example</h3><pre class="prettyprint lang-config">
-&lt;Location /secure&gt;
+ <div class="example"><h3>Password Example</h3><pre class="prettyprint lang-config">&lt;Location /secure&gt;
AuthBasicFake %{SSL_CLIENT_S_DN_Email} %{sha1:passphrase-%{SSL_CLIENT_S_DN_Email}}
-&lt;/Location&gt;
- </pre>
+&lt;/Location&gt;</pre>
</div>
- <div class="example"><h3>Exclusion Example</h3><pre class="prettyprint lang-config">
-&lt;Location /public&gt;
+ <div class="example"><h3>Exclusion Example</h3><pre class="prettyprint lang-config">&lt;Location /public&gt;
AuthBasicFake off
-&lt;/Location&gt;
- </pre>
+&lt;/Location&gt;</pre>
</div>
@@ -168,16 +160,14 @@ username and password</td></tr>
The default <code>file</code> provider is implemented
by the <code class="module"><a href="../mod/mod_authn_file.html">mod_authn_file</a></code> module. Make sure
that the chosen provider module is present in the server.</p>
- <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">
-&lt;Location /secure&gt;
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;Location /secure&gt;
AuthType basic
AuthName "private area"
AuthBasicProvider dbm
AuthDBMType SDBM
AuthDBMUserFile /www/etc/dbmpasswd
Require valid-user
-&lt;/Location&gt;
- </pre>
+&lt;/Location&gt;</pre>
</div>
<p> Providers are queried in order until a provider finds a match
for the requested username, at which point this sole provider will