mod_macro.html.en revision cfbca4e518f4981f435e93e434f17271e6efc138
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<?xml version="1.0" encoding="ISO-8859-1"?>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
cfbca4e518f4981f435e93e434f17271e6efc138rbowen XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
cfbca4e518f4981f435e93e434f17271e6efc138rbowen This file is generated from xml source: DO NOT EDIT
cfbca4e518f4981f435e93e434f17271e6efc138rbowen XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
cfbca4e518f4981f435e93e434f17271e6efc138rbowen -->
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<title>mod_macro - Apache HTTP Server</title>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<script src="/style/scripts/prettify.js" type="text/javascript">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</script>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<link href="/images/favicon.ico" rel="shortcut icon" /></head>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<body>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div id="page-header">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p class="apache">Apache HTTP Server Version 2.5</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<img alt="" src="/images/feather.gif" /></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div id="path">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Modules</a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div id="page-content">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div id="preamble"><h1>Apache Module mod_macro</h1>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="toplang">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p><span>Available Languages: </span><a href="/en/mod/mod_macro.html" title="English">&nbsp;en&nbsp;</a> |
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<a href="/fr/mod/mod_macro.html" hreflang="fr" rel="alternate" title="Fran�ais">&nbsp;fr&nbsp;</a></p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>This module provides usage of macros within apache runtime configuration files</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Base</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>macro_module</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_macro.c</td></tr></table>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<h3>Summary</h3>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <p>This modules provides macros within apache runtime configuration files.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen These macros have parameters. They are expanded when used (parameters are
cfbca4e518f4981f435e93e434f17271e6efc138rbowen substituted by their values given as an argument), and the result is
cfbca4e518f4981f435e93e434f17271e6efc138rbowen processed normally.</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div id="quickview"><h3 class="directives">Directives</h3>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<ul id="toc">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<li><img alt="" src="/images/down.gif" /> <a href="#macro">&lt;Macro&gt;</a></li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<li><img alt="" src="/images/down.gif" /> <a href="#undefmacro">undefMacro</a></li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<li><img alt="" src="/images/down.gif" /> <a href="#use">Use</a></li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<h3>Topics</h3>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<ul id="topics">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<li><img alt="" src="/images/down.gif" /> <a href="#features">Features</a></li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="section">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<h2><a name="features" id="features">Features</a></h2>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen Definition of a macro:
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro definition within a &lt;Macro&gt; section, following
cfbca4e518f4981f435e93e434f17271e6efc138rbowen the apache style.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> user defined names for the macro and its parameters.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro names are case-insensitive, like apache directives.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro parameter names are case sensitive.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro parameters must have distinct names.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> error on empty parameter names.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> redefining a macro generates a warning.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro definitions can be nested... (but what for?)</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warn about unused macro parameters.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warn about macro parameter names which prefix one another.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warn if a parameter is not prefixed by any of '<code>$%@</code>'
cfbca4e518f4981f435e93e434f17271e6efc138rbowen (good practice).</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> the available prefixes help deal with interactions with other
cfbca4e518f4981f435e93e434f17271e6efc138rbowen directives such as <code class="directive"><a href="/mod/core.html#define">Define</a></code>.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> tip: it may be useful to define a macro parameter with surrounding
cfbca4e518f4981f435e93e434f17271e6efc138rbowen braces, say <code>${foo}</code> so that the name can appear with
cfbca4e518f4981f435e93e434f17271e6efc138rbowen surrounding characters such as <code>bla${foo}bla</code>.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warn about empty macro contents.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warns if sections are not properly nested within a macro.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen (if it is detected so).</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> the lexical scope of macro parameters is restricted to the macro text,
cfbca4e518f4981f435e93e434f17271e6efc138rbowen it is not forwarded to includes for instance.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> arbitrary contents in macros.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <p>It means you can put perl sections or whatever you like in a macro.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen No assumption is made about the lexical structure (quotes, spaces or
cfbca4e518f4981f435e93e434f17271e6efc138rbowen whatever) within the macro contents but to expect a set of
cfbca4e518f4981f435e93e434f17271e6efc138rbowen backslash-continued independent lines.</p></li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen Use of a macro:
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> number of arguments must match the definition.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> all occurences of macro parameters are substituted by their values.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> in case of conflicts, the longest parameter name is chosen.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> macro expansion recursion is detected and stopped (error).</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> warn about empty arguments when used.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> on errors, try to describe precisely where the error occured.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> <code>$</code> and <code>%</code>-prefixed parameters are not
cfbca4e518f4981f435e93e434f17271e6efc138rbowen escaped.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> <code>@</code>-prefixed parameters are escaped in quotes.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen Removal of a macro definition:
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <li> the macro must be already defined.</li>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </ul>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <pre class="prettyprint lang-config">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;Macro DirGroup $dir $group&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen &lt;Directory $dir&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen require group $group
cfbca4e518f4981f435e93e434f17271e6efc138rbowen &lt;/Directory&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;/Macro&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUse DirGroup /www/apache/private private
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUse DirGroup /www/apache/server admin
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUndefMacro DirGroup
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </pre>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="directive-section"><h2><a name="Macro" id="Macro">&lt;Macro&gt;</a> <a name="macro" id="macro">Directive</a></h2>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<table class="directive">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Define a configuration file macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;Macro <var>name</var> [<var>par1</var> .. <var>parN</var>]&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen... &lt;/Macro&gt;</code></td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</table>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <p>The <code class="directive">Macro</code> directive controls the definition of
cfbca4e518f4981f435e93e434f17271e6efc138rbowen a macro within the server runtime configuration files.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen The first argument is the name of the macro.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen Other arguments are parameters to the macro. It is good practice to prefix
cfbca4e518f4981f435e93e434f17271e6efc138rbowen parameter names with any of '<code>$%@</code>', and not macro names
cfbca4e518f4981f435e93e434f17271e6efc138rbowen with such characters.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <pre class="prettyprint lang-config">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;Macro LocalAccessPolicy&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen order deny,allow
cfbca4e518f4981f435e93e434f17271e6efc138rbowen deny from all
cfbca4e518f4981f435e93e434f17271e6efc138rbowen allow from 10.2.16.0/24
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;/Macro&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;Macro RestrictedAccessPolicy $ipnumbers&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen order deny,allow
cfbca4e518f4981f435e93e434f17271e6efc138rbowen deny from all
cfbca4e518f4981f435e93e434f17271e6efc138rbowen allow from $ipnumbers
cfbca4e518f4981f435e93e434f17271e6efc138rbowen&lt;/Macro&gt;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </pre>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="directive-section"><h2><a name="undefMacro" id="undefMacro">undefMacro</a> <a name="undefmacro" id="undefmacro">Directive</a></h2>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<table class="directive">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Undefine a macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>UndefMacro <var>name</var></code></td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</table>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <p>The <code class="directive">UndefMacro</code> directive undefines a macro
cfbca4e518f4981f435e93e434f17271e6efc138rbowen which has been defined before hand.</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <pre class="prettyprint lang-config">
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUndefMacro LocalAccessPolicy
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUndefMacro RestrictedAccessPolicy
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </pre>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="directive-section"><h2><a name="Use" id="Use">Use</a> <a name="use" id="use">Directive</a></h2>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<table class="directive">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Use a macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>Use <var>name</var> [<var>value1</var> ... <var>valueN</var>]
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</code></td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_macro</td></tr>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</table>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <p> The <code class="directive">Use</code> directive controls the use of a macro.
cfbca4e518f4981f435e93e434f17271e6efc138rbowen The specified macro is expanded. It must be given the same number of
cfbca4e518f4981f435e93e434f17271e6efc138rbowen arguments than in the macro definition. The provided values are
cfbca4e518f4981f435e93e434f17271e6efc138rbowen associated to their corresponding initial parameters and are substituted
cfbca4e518f4981f435e93e434f17271e6efc138rbowen before processing.</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <pre class="prettyprint lang-config">
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUse LocalAccessPolicy
cfbca4e518f4981f435e93e434f17271e6efc138rbowen...
cfbca4e518f4981f435e93e434f17271e6efc138rbowenUse RestrictedAccessPolicy "192.54.172.0/24 192.54.148.0/24"
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </pre>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen is equivalent, with the macros defined above, to:
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen <pre class="prettyprint lang-config">
cfbca4e518f4981f435e93e434f17271e6efc138rbowenorder deny,allow
cfbca4e518f4981f435e93e434f17271e6efc138rbowendeny from all
cfbca4e518f4981f435e93e434f17271e6efc138rbowenallow from 10.2.16.0/24
cfbca4e518f4981f435e93e434f17271e6efc138rbowen...
cfbca4e518f4981f435e93e434f17271e6efc138rbowenorder deny,allow
cfbca4e518f4981f435e93e434f17271e6efc138rbowendeny from all
cfbca4e518f4981f435e93e434f17271e6efc138rbowenallow from 192.54.172.0/24 192.54.148.0/24
cfbca4e518f4981f435e93e434f17271e6efc138rbowen </pre>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<div class="bottomlang">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p><span>Available Languages: </span><a href="/en/mod/mod_macro.html" title="English">&nbsp;en&nbsp;</a> |
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<a href="/fr/mod/mod_macro.html" hreflang="fr" rel="alternate" title="Fran�ais">&nbsp;fr&nbsp;</a></p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<script type="text/javascript"><!--//--><![CDATA[//><!--
cfbca4e518f4981f435e93e434f17271e6efc138rbowenvar comments_shortname = 'httpd';
cfbca4e518f4981f435e93e434f17271e6efc138rbowenvar comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_macro.html';
cfbca4e518f4981f435e93e434f17271e6efc138rbowen(function(w, d) {
cfbca4e518f4981f435e93e434f17271e6efc138rbowen if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
cfbca4e518f4981f435e93e434f17271e6efc138rbowen d.write('<div id="comments_thread"><\/div>');
cfbca4e518f4981f435e93e434f17271e6efc138rbowen var s = d.createElement('script');
cfbca4e518f4981f435e93e434f17271e6efc138rbowen s.type = 'text/javascript';
cfbca4e518f4981f435e93e434f17271e6efc138rbowen s.async = true;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
cfbca4e518f4981f435e93e434f17271e6efc138rbowen (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
cfbca4e518f4981f435e93e434f17271e6efc138rbowen }
cfbca4e518f4981f435e93e434f17271e6efc138rbowen else {
cfbca4e518f4981f435e93e434f17271e6efc138rbowen d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
cfbca4e518f4981f435e93e434f17271e6efc138rbowen }
cfbca4e518f4981f435e93e434f17271e6efc138rbowen})(window, document);
cfbca4e518f4981f435e93e434f17271e6efc138rbowen//--><!]]></script></div><div id="footer">
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
cfbca4e518f4981f435e93e434f17271e6efc138rbowenif (typeof(prettyPrint) !== 'undefined') {
cfbca4e518f4981f435e93e434f17271e6efc138rbowen prettyPrint();
cfbca4e518f4981f435e93e434f17271e6efc138rbowen}
cfbca4e518f4981f435e93e434f17271e6efc138rbowen//--><!]]></script>
cfbca4e518f4981f435e93e434f17271e6efc138rbowen</body></html>