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.en34
1 files changed, 12 insertions, 22 deletions
diff --git a/docs/manual/mod/mod_auth_basic.html.en b/docs/manual/mod/mod_auth_basic.html.en
index 215f45b7..a3b5c2de 100644
--- a/docs/manual/mod/mod_auth_basic.html.en
+++ b/docs/manual/mod/mod_auth_basic.html.en
@@ -9,7 +9,7 @@
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" />
-<script src="../style/scripts/prettify.js" type="text/javascript">
+<script src="../style/scripts/prettify.min.js" type="text/javascript">
</script>
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
@@ -112,11 +112,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
@@ -125,11 +123,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
@@ -137,18 +133,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>
@@ -170,16 +162,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
@@ -287,7 +277,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_auth_basic.h
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
+<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();