From 88d87da6a459219aea96a83303afb7fa2139ff0b Mon Sep 17 00:00:00 2001
From: =?utf8?q?Andr=C3=A9=20Malo?=
void *per_dir_config; /* Options set in config files, etc. */ void *request_config; /* Notes on *this* request */
-
};
Historically, there are several syntax variants for expressions used to express - a condition in the different modules of the Apache HTTP Server. - There is some ongoing effort to only use a single variant, called ap_expr, - for all configuration directives. - This document describes the ap_expr expression parser. +
Historically, there are several syntax variants for expressions + used to express a condition in the different modules of the Apache + HTTP Server. There is some ongoing effort to only use a single + variant, called ap_expr, for all configuration directives. + This document describes the ap_expr expression parser.
The ap_expr expression is intended to replace most other
- expression variants in HTTPD. For example, the deprecated
- SSLRequire expressions can be
- replaced by Require expr.
-
SSLRequire expressions can be replaced
+ by Require expr.
Grammar in Backus-Naur Form notation
VariablesBackus-Naur Form (BNF) is a notation - technique for context-free grammars, often used to describe the syntax of languages used in computing. +
Backus-Naur
+ Form (BNF) is a notation technique for context-free grammars,
+ often used to describe the syntax of languages used in computing.
In most cases, expressions are used to express boolean values.
- For these, the starting point in the BNF is expr. However, a few directives
- like LogMessage accept expressions
- that evaluate to a string value. For those, the starting point in the BNF is string.
+ For these, the starting point in the BNF is expr.
+ However, a few directives like LogMessage accept expressions
+ that evaluate to a string value. For those, the starting point in
+ the BNF is string.
@@ -216,8 +216,8 @@ listfunction ::= listfuncname "(" word ")"
The DocumentRoot of
the current vhost
AUTH_TYPE
- The configured AuthType
- (e.g. "basic")
+ The configured AuthType (e.g.
+ "basic")
CONTENT_TYPE
The content type of the response
HANDLER
@@ -262,14 +262,16 @@ listfunction ::= listfuncname "(" word ")"
The day of the week (starting with 0
for Sunday)
TIME
- The date and time in the format 20101231235959
+ The date and time in the format
+ 20101231235959
SERVER_SOFTWARE
The server version string
API_VERSION
The date of the API version (module magic number)
- Some modules register additional variables, see e.g. mod_ssl.
+ Some modules register additional variables, see e.g.
+ mod_ssl.
false", or "no" (case insensitive).
True otherwise.-R%{REMOTE_ADDR} -ipmatch ...", but more efficient
+ %{REMOTE_ADDR} -ipmatch ...", but more
+ efficient
respreqenvv can be used too to access variables).v can be used too to access
+ variables).osenvnotereq_novary function can be used to
prevent names from being added to the Vary header.
- In addition to string-valued functions, there are also list-valued functions which
- take one string as argument and return a wordlist, i.e. a list of strings. The wordlist
- can be used with the special -in operator.
- Functions names are not case sensitive.
- Modules may register additional functions.
In addition to string-valued functions, there are also
+ list-valued functions which take one string as argument and return a
+ wordlist, i.e. a list of strings. The wordlist can be used with the
+ special -in operator. Functions names are not case
+ sensitive. Modules may register additional functions.
There are no built-in list-valued functions. mod_ssl
provides PeerExtList. See the description of
@@ -478,7 +483,8 @@ listfunction ::= listfuncname "(" word ")"
The following examples show how expressions might be used to evaluate requests:
+The following examples show how expressions might be used to + evaluate requests:
# Compare the host name to example.com and redirect to www.example.com if it matches
@@ -508,7 +514,8 @@ listfunction ::= listfuncname "(" word ")"
string contained in string list /regexp/m#regexp#/regexp/im#regexp#iHistoriquement, il existe de nombreuses variantes dans la syntaxe
des expressions permettant d'exprimer une condition dans les
diff --git a/docs/manual/expr.xml.fr b/docs/manual/expr.xml.fr
index 7ba4b38e8e2..6cba5989de4 100644
--- a/docs/manual/expr.xml.fr
+++ b/docs/manual/expr.xml.fr
@@ -1,7 +1,7 @@
-
+
diff --git a/docs/manual/expr.xml.meta b/docs/manual/expr.xml.meta
index d5a2e5e1a51..ea324a8bb25 100644
--- a/docs/manual/expr.xml.meta
+++ b/docs/manual/expr.xml.meta
@@ -8,6 +8,6 @@
Alias /icons/ /usr/local/apache/icons/+ Alias /icons/ /usr/local/apache/icons/ ++
then the url /icons will not be aliased, as it lacks
that trailing /. Likewise, if you omit the slash on the
diff --git a/docs/manual/mod/mod_alias.html.fr b/docs/manual/mod/mod_alias.html.fr
index a007077a987..58f86a99b9b 100644
--- a/docs/manual/mod/mod_alias.html.fr
+++ b/docs/manual/mod/mod_alias.html.fr
@@ -30,6 +30,8 @@
ko |
tr
| Description: | Permet d'atteindre différentes parties du système de fichiers depuis l'arborescence des documents du site web, ainsi que la redirection d'URL |
|---|
| Açıklama: | Belge aÄacının parçalarının dosya sisteminin parçalarıyla eÅlenmesini saÄlar ve URL yönlendirmesi yapar. |
|---|---|
| Durum: | Temel |