From a006193a6dd93b455e9eeec49bc0ae3b5048527d Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sat, 2 Apr 2016 06:29:10 +0000 Subject: [PATCH] xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737463 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_macro.html.en | 19 ++++++++++--------- docs/manual/mod/mod_macro.xml.fr | 2 +- docs/manual/mod/mod_macro.xml.meta | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/manual/mod/mod_macro.html.en b/docs/manual/mod/mod_macro.html.en index c68d5bf62b..8be2057041 100644 --- a/docs/manual/mod/mod_macro.html.en +++ b/docs/manual/mod/mod_macro.html.en @@ -59,11 +59,11 @@

Usage

-

Macros are defined using <Macro> blocks, which contain the portion of +

Macros are defined using <Macro> blocks, which contain the portion of your configuration that needs to be repeated, complete with variables for those parts that will need to be substituted.

-

For example, you might use a macro to define a <VirtualHost> block, in order to define +

For example, you might use a macro to define a <VirtualHost> block, in order to define multiple similar virtual hosts:

<Macro VHost $name $domain>
@@ -91,13 +91,14 @@ Use VHost apache apache.org
 UndefMacro VHost
-

At server startup time, each of these Use +

At server startup time, each of these Use invocations would be expanded into a full virtualhost, as -described by the Macro definition.

+described by the <Macro> +definition.

-

The UndefMacro directive is used so that later -macros using the same variable names don't result in conflicting -definitions.

+

The UndefMacro directive is +used so that later macros using the same variable names don't result in +conflicting definitions.

A more elaborate version of this example may be seen below in the Examples section.

@@ -204,8 +205,8 @@ UndefMacro DirGroup Status:Base Module:mod_macro -

The Macro directive controls the definition of - a macro within the server runtime configuration files. +

The <Macro> directive controls the + definition of a macro within the server runtime configuration files. The first argument is the name of the macro. Other arguments are parameters to the macro. It is good practice to prefix parameter names with any of '$%@', and not macro names diff --git a/docs/manual/mod/mod_macro.xml.fr b/docs/manual/mod/mod_macro.xml.fr index 84e00ca53e..b2b8249292 100644 --- a/docs/manual/mod/mod_macro.xml.fr +++ b/docs/manual/mod/mod_macro.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/mod/mod_macro.xml.meta b/docs/manual/mod/mod_macro.xml.meta index 2e26ebcdf4..5454b3cb28 100644 --- a/docs/manual/mod/mod_macro.xml.meta +++ b/docs/manual/mod/mod_macro.xml.meta @@ -8,6 +8,6 @@ en - fr + fr -- 2.40.0