<div class="section">
<h2><a name="features" id="features">Features</a></h2>
-<p>
- Definition of a macro:
+<p>Definition of a macro:</p>
+
</p>
<ul>
<li> macro definition within a <Macro> section, following
backslash-continued independent lines.</p></li>
</ul>
-<p>
- Use of a macro:
+<p>Use of a macro:</p>
+
</p>
<ul>
<li> number of arguments must match the definition.</li>
<li> <code>@</code>-prefixed parameters are escaped in quotes.</li>
</ul>
-<p>
- Removal of a macro definition:
+<p>Removal of a macro definition:</p>
+
</p>
<ul>
<li> the macro must be already defined.</li>
</ul>
- <pre class="prettyprint lang-config">
+<pre class="prettyprint lang-config">
<Macro DirGroup $dir $group>
<Directory $dir>
require group $group
Use DirGroup /www/apache/server admin
UndefMacro DirGroup
- </pre>
+</pre>
</div>
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_macro</td></tr>
</table>
- <p> The <code class="directive">Use</code> directive controls the use of a macro.
+ <p>The <code class="directive">Use</code> directive controls the use of a macro.
The specified macro is expanded. It must be given the same number of
arguments than in the macro definition. The provided values are
associated to their corresponding initial parameters and are substituted
<section id="features"><title>Features</title>
-<p>
- Definition of a macro:
-</p>
+<p>Definition of a macro:</p>
+
<ul>
<li> macro definition within a <Macro> section, following
the apache style.</li>
backslash-continued independent lines.</p></li>
</ul>
-<p>
- Use of a macro:
-</p>
+<p>Use of a macro:</p>
+
<ul>
<li> number of arguments must match the definition.</li>
<li> all occurences of macro parameters are substituted by their values.</li>
<li> <code>@</code>-prefixed parameters are escaped in quotes.</li>
</ul>
-<p>
- Removal of a macro definition:
-</p>
+<p>Removal of a macro definition:</p>
+
<ul>
<li> the macro must be already defined.</li>
</ul>
- <highlight language="config">
+<highlight language="config">
<Macro DirGroup $dir $group>
<Directory $dir>
require group $group
Use DirGroup /www/apache/server admin
UndefMacro DirGroup
- </highlight>
+</highlight>
</section>
</contextlist>
<usage>
- <p> The <directive>Use</directive> directive controls the use of a macro.
+ <p>The <directive>Use</directive> directive controls the use of a macro.
The specified macro is expanded. It must be given the same number of
arguments than in the macro definition. The provided values are
associated to their corresponding initial parameters and are substituted
allow from 192.54.172.0/24 192.54.148.0/24
</highlight>
</usage>
+
</directivesynopsis>
<!-- UndefMacro -->