From: Christophe Jaillet Date: Sat, 2 Apr 2016 06:30:29 +0000 (+0000) Subject: Improve hyperlinks (r1737462 in trunk) X-Git-Tag: 2.4.20~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d061f79d6a5d76f425ac699ff275afdc714046b0;p=thirdparty%2Fapache%2Fhttpd.git Improve hyperlinks (r1737462 in trunk) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1737464 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_macro.xml b/docs/manual/mod/mod_macro.xml index d192db3777a..3bf6b348f97 100644 --- a/docs/manual/mod/mod_macro.xml +++ b/docs/manual/mod/mod_macro.xml @@ -40,12 +40,12 @@
Usage -

Macros are defined using 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 For example, you might use a macro to define a VirtualHost block, in order to define multiple similar virtual hosts:

@@ -76,13 +76,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.

@@ -197,8 +198,8 @@ UndefMacro DirGroup -

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