Return-Path:
The ap_expr expression is intended to replace most other
+ expression variants in HTTPD. For example, the deprecated
+
REQUEST_URI
REQUEST_FILENAME
REQUEST_FILENAME
is referenced. Otherwise, such
+ as when used in virtual host context, the same value as
+ REQUEST_URI
SCRIPT_FILENAME
REQUEST_FILENAME
SCRIPT_USER
SCRIPT_GROUP
PATH_INFO
QUERY_STRING
IS_SUBREQ
TODO: 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.
Modified: httpd/httpd/trunk/docs/manual/mod/mod_ssl.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ssl.xml?rev=1073543&r1=1073542&r2=1073543&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_ssl.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_ssl.xml Tue Feb 22 23:17:50 2011 @@ -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
, ...
+