From: Rich Bowen There are two kinds of environment variables that affect
@@ -165,6 +165,18 @@
Many use cases that previously required setting and testing
+ environment variables â including conditional headers, access
+ control, and logging â can now be handled more directly using
+
+ Related Modules Related Directives Modern alternative: Expressions
+ <If> expressions
+ with the reqenv function. See
+ Expressions in Apache HTTP Server for the
+ expression syntax and the full list of available
+ variables.CGI Scripts
@@ -199,6 +211,10 @@
allows for flexible control of access to the server based on
characteristics of the client. For example, you can use these
directives to deny access to a particular browser (User-Agent).
+ For more complex conditions,
+ Require expr provides
+ an alternative that can evaluate environment variables using
+ the reqenv function alongside other request properties.
REQUEST_URI, REMOTE_ADDR,
+ SERVER_NAME, and many others), see the
+ expression variables reference.
+
+ Refer to the CGI spec for further details of the standard + CGI meta-variables.