]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix upgrading examples
authorEric Covener <covener@apache.org>
Tue, 2 Jan 2018 22:25:23 +0000 (22:25 +0000)
committerEric Covener <covener@apache.org>
Tue, 2 Jan 2018 22:25:23 +0000 (22:25 +0000)
 - providers are case sensitive
 - description didn't match example / 2.2 didn't match 2.4.

Submitted by: Hank Ibell
Committed by: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1819907 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/upgrading.xml

index e985d384f89f17bb0f5dca4946a1bc318fe22f75..3b59143055cc36e4621a3fee7fb895f4e510c616 100644 (file)
@@ -264,9 +264,11 @@ access.log - GET /server-status 200 127.0.0.1
       <example>
         <title>2.2 configuration:</title>
         <highlight language="config">
+# 2.2 config that disables host-based access control and uses only authentication
 Order Deny,Allow
-Deny from all
-AuthBasicProvider File
+Allow from all
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 Require valid-user
@@ -275,8 +277,9 @@ Require valid-user
       <example>
         <title>2.4 configuration:</title>
         <highlight language="config">
-# No replacement needed
-AuthBasicProvider File
+# No replacement of disabling host-based access control needed
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 Require valid-user
@@ -293,7 +296,8 @@ Deny from all
 # Satisfy ALL is the default
 Satisfy ALL
 Allow from 127.0.0.1
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 Require valid-user
@@ -302,7 +306,8 @@ Require valid-user
       <example>
         <title>2.4 configuration:</title>
         <highlight language="config">
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 &lt;RequireAll&gt;
@@ -321,7 +326,8 @@ Order allow,deny
 Deny from all
 Satisfy any
 Allow from 127.0.0.1
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 Require valid-user
@@ -330,7 +336,8 @@ Require valid-user
       <example>
         <title>2.4 configuration:</title>
         <highlight language="config">
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
 AuthUserFile /example.com/conf/users.passwd
 AuthName secure
 # Implicitly &lt;RequireAny&gt;