From: Stefan Fritsch
The ap_expr expression is intended to replace most other
+ expression variants in HTTPD. For example, the deprecated
+
REQUEST_URIREQUEST_FILENAMEREQUEST_FILENAME is referenced. Otherwise, such
+ as when used in virtual host context, the same value as
+ REQUEST_URI SCRIPT_FILENAMEREQUEST_FILENAMESCRIPT_USERSCRIPT_GROUPPATH_INFOQUERY_STRINGIS_SUBREQTODO: Include a link to a description of the ap_expr syntax, once we have - such a description.
+The syntax is described in the ap_expr + documentation.
diff --git a/docs/manual/mod/mod_ssl.xml b/docs/manual/mod/mod_ssl.xml index bb2400877e3..e48824d7aeb 100644 --- a/docs/manual/mod/mod_ssl.xml +++ b/docs/manual/mod/mod_ssl.xml @@ -1343,10 +1343,34 @@ the left-hand-side expression. +SSLRequire is deprecated and should in general be replaced
+by Require expr. The so called
+ap_expr syntax of Require expr is
+a superset of the syntax of SSLRequire, with the following
+exception:
In SSLRequire, the comparison operators <,
+<=, ... completely equivalent to the operators
+lt, le, ... and work in a somewhat pecular way that
+first compares the length of two strings and then the lexical order.
+On the other hand, ap_expr has two sets of
+comparison operators: The operators <,
+<=, ... do lexical string comparison, while the operators
+-lt, -le, ... do integer comparison.
+For the latter, there are also aliases without the leading dashes:
+lt, le, ...
+