<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
<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
# 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
<example>
<title>2.4 configuration:</title>
<highlight language="config">
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
AuthUserFile /example.com/conf/users.passwd
AuthName secure
<RequireAll>
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
<example>
<title>2.4 configuration:</title>
<highlight language="config">
-AuthBasicProvider File
+AuthType Basic
+AuthBasicProvider file
AuthUserFile /example.com/conf/users.passwd
AuthName secure
# Implicitly <RequireAny>