From 2a463b3cd73c32ee9dcd508248d0194923f435f4 Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sat, 29 Mar 2014 21:56:19 +0100 Subject: Imported Upstream version 2.4.9 --- docs/manual/mod/mod_auth_basic.html.en | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) (limited to 'docs/manual/mod/mod_auth_basic.html.en') 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 @@ - @@ -112,11 +112,9 @@ username and password

In this example, we pass a fixed username and password to a backend server.

-

Fixed Example

-<Location /demo>
+    

Fixed Example

<Location /demo>
     AuthBasicFake demo demopass
-</Location>
-    
+</Location>

In this example, we pass the email address extracted from a client @@ -125,11 +123,9 @@ username and password directive. Like the FakeBasicAuth option, the password is set to the fixed string "password".

-

Certificate Example

-<Location /secure>
+    

Certificate Example

<Location /secure>
     AuthBasicFake %{SSL_CLIENT_S_DN_Email}
-</Location>
-    
+</Location>

Extending the above example, we generate a password by hashing the @@ -137,18 +133,14 @@ username and password backend server. This can be used to gate into legacy systems that do not support client certificates.

-

Password Example

-<Location /secure>
+    

Password Example

<Location /secure>
     AuthBasicFake %{SSL_CLIENT_S_DN_Email} %{sha1:passphrase-%{SSL_CLIENT_S_DN_Email}}
-</Location>
-    
+</Location>
-

Exclusion Example

-<Location /public>
+    

Exclusion Example

<Location /public>
     AuthBasicFake off
-</Location>
-    
+</Location>
@@ -170,16 +162,14 @@ username and password The default file provider is implemented by the mod_authn_file module. Make sure that the chosen provider module is present in the server.

-

Example

-<Location /secure>
+    

Example

<Location /secure>
     AuthType basic
     AuthName "private area"
     AuthBasicProvider  dbm
     AuthDBMType        SDBM
     AuthDBMUserFile    /www/etc/dbmpasswd
     Require            valid-user
-</Location>
-    
+</Location>

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); //-->