diff options
author | André Malo <nd@apache.org> | 2014-02-05 23:28:30 +0100 |
---|---|---|
committer | André Malo <nd@apache.org> | 2014-02-05 23:28:30 +0100 |
commit | cc5367ee69671c28f3e20d0d33b3b3c2898fc156 (patch) | |
tree | 40870a6d91c4d4b236fb54f4d3268bb4003d56cf /docs/manual/mod/mod_auth_basic.html.en | |
parent | this is not a quote. (diff) | |
download | apache2-cc5367ee69671c28f3e20d0d33b3b3c2898fc156.tar.xz apache2-cc5367ee69671c28f3e20d0d33b3b3c2898fc156.zip |
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_auth_basic.html.en')
-rw-r--r-- | docs/manual/mod/mod_auth_basic.html.en | 30 |
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"> -<Location /demo> + <div class="example"><h3>Fixed Example</h3><pre class="prettyprint lang-config"><Location /demo> AuthBasicFake demo demopass -</Location> - </pre> +</Location></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"> -<Location /secure> + <div class="example"><h3>Certificate Example</h3><pre class="prettyprint lang-config"><Location /secure> AuthBasicFake %{SSL_CLIENT_S_DN_Email} -</Location> - </pre> +</Location></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"> -<Location /secure> + <div class="example"><h3>Password Example</h3><pre class="prettyprint lang-config"><Location /secure> AuthBasicFake %{SSL_CLIENT_S_DN_Email} %{sha1:passphrase-%{SSL_CLIENT_S_DN_Email}} -</Location> - </pre> +</Location></pre> </div> - <div class="example"><h3>Exclusion Example</h3><pre class="prettyprint lang-config"> -<Location /public> + <div class="example"><h3>Exclusion Example</h3><pre class="prettyprint lang-config"><Location /public> AuthBasicFake off -</Location> - </pre> +</Location></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"> -<Location /secure> + <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"><Location /secure> AuthType basic AuthName "private area" AuthBasicProvider dbm AuthDBMType SDBM AuthDBMUserFile /www/etc/dbmpasswd Require valid-user -</Location> - </pre> +</Location></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 |