You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2021/01/03 09:00:55 UTC

svn commit: r1885046 - /httpd/httpd/trunk/docs/manual/env.xml

Author: jailletc36
Date: Sun Jan  3 09:00:55 2021
New Revision: 1885046

URL: http://svn.apache.org/viewvc?rev=1885046&view=rev
Log:
Use Require instead of Allow and Deny.

While at it, removes the "based on the value of" because, it is not really based on the value of the environment variable, but on its existence or not.

PR 65048

Modified:
    httpd/httpd/trunk/docs/manual/env.xml

Modified: httpd/httpd/trunk/docs/manual/env.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/env.xml?rev=1885046&r1=1885045&r2=1885046&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/env.xml (original)
+++ httpd/httpd/trunk/docs/manual/env.xml Sun Jan  3 09:00:55 2021
@@ -182,6 +182,7 @@
       <directivelist>
         <directive module="mod_authz_core">Require</directive>
         <directive module="mod_log_config">CustomLog</directive>
+        <directive module="mod_access_compat">Allow</directive>
         <directive module="mod_access_compat">Deny</directive>
         <directive module="mod_ext_filter">ExtFilterDefine</directive>
         <directive module="mod_headers">Header</directive>
@@ -219,9 +220,9 @@
     <section id="access-control">
         <title>Access Control</title>
 
-        <p>Access to the server can be controlled based on the value of
-        environment variables using the <code>allow from env=</code>
-        and <code>deny from env=</code> directives. In combination with
+        <p>Access to the server can be controlled based on
+        environment variables using the <code>Require env</code>
+        and <code>Require not env</code> directives. In combination with
         <directive module="mod_setenvif">SetEnvIf</directive>, this
         allows for flexible control of access to the server based on
         characteristics of the client. For example, you can use these