mirror of
https://github.com/apache/httpd.git
synced 2025-07-30 20:03:10 +03:00
Following up on BZ 53530.. putting quotation marks around
arbitrary-text, complex, and/or filesystem directive arguments. More to do.. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673582 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -111,7 +111,7 @@ 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>
|
||||
</div>
|
||||
@ -122,8 +122,8 @@ 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>
|
||||
AuthBasicFake %{SSL_CLIENT_S_DN_Email}
|
||||
<div class="example"><h3>Certificate Example</h3><pre class="prettyprint lang-config"><Location "/secure">
|
||||
AuthBasicFake "%{SSL_CLIENT_S_DN_Email}"
|
||||
</Location></pre>
|
||||
</div>
|
||||
|
||||
@ -132,12 +132,12 @@ 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>
|
||||
AuthBasicFake %{SSL_CLIENT_S_DN_Email} %{sha1:passphrase-%{SSL_CLIENT_S_DN_Email}}
|
||||
<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>
|
||||
</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>
|
||||
</div>
|
||||
@ -161,12 +161,12 @@ 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
|
||||
AuthDBMUserFile "/www/etc/dbmpasswd"
|
||||
Require valid-user
|
||||
</Location></pre>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user