request, so you can use the following configuration to enable
such a script:</p>
- <div class="example"><pre>
-<Files "mypaths.shtml">
- Options +Includes
- SetOutputFilter INCLUDES
- AcceptPathInfo on
-</Files></pre></div>
+ <div class="example"><p><code>
+ <Files "mypaths.shtml"><br />
+ <span class="indent">
+ Options +Includes<br />
+ SetOutputFilter INCLUDES<br />
+ AcceptPathInfo on<br />
+ </span>
+ </Files>
+ </code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="AccessFileName" id="AccessFileName">AccessFileName</a> <a name="accessfilename" id="accessfilename">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
</a></th><td>Name of the distributed configuration file</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
<code>/usr/local/.acl</code> and <code>/usr/local/web/.acl</code>
for directives, unless they have been disabled with</p>
- <div class="example"><pre>
-<Directory />
- AllowOverride None
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /><br />
+ <span class="indent">
+ AllowOverride None<br />
+ </span>
+ </Directory>
+ </code></p></div>
<h3>See also</h3><ul><li><code class="directive"><a href="#allowoverride">AllowOverride</a></code></li><li><a href="../configuring.html">Configuration Files</a></li><li><a href="../howto/htaccess.html">.htaccess Files</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="AddDefaultCharset" id="AddDefaultCharset">AddDefaultCharset</a> <a name="adddefaultcharset" id="adddefaultcharset">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
</a></th><td>Default character set to be added for a
response without an explicit character set</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
<code>/home/user/public_html</code>, but <code><Directory
/home/*/public_html></code> will match. Example:</p>
- <div class="example"><pre>
-<Directory /usr/local/httpd/htdocs>
- Options Indexes FollowSymLinks
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /usr/local/httpd/htdocs><br />
+ <span class="indent">
+ Options Indexes FollowSymLinks<br />
+ </span>
+ </Directory>
+ </code></p></div>
<div class="note">
<p>Be careful with the <var>directory-path</var> arguments:
first, interspersed with the directives from the <a href="#accessfilename">.htaccess</a> files. For example,
with</p>
- <div class="example"><pre>
-<Directory />
- AllowOverride None
-</Directory>
-
-<Directory /home/>
- AllowOverride FileInfo
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /><br />
+ <span class="indent">
+ AllowOverride None<br />
+ </span>
+ </Directory><br />
+ <br />
+ <Directory /home/><br />
+ <span class="indent">
+ AllowOverride FileInfo<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p>for access to the document <code>/home/web/dir/doc.html</code>
the steps are:</p>
expressions are tested in the order they appeared in the
configuration file. For example, with</p>
- <div class="example"><pre>
-<Directory ~ abc$>
- # ... directives here ...
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory ~ abc$><br />
+ <span class="indent">
+ # ... directives here ...<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p>The regular expression section won't be considered until after
all normal <Directory>s and <code>.htaccess</code> files
recommended that you change this with a block such
as</strong></p>
- <div class="example"><pre>
-<Directory />
- Order Deny,Allow
- Deny from All
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /><br />
+ <span class="indent">
+ Order Deny,Allow<br />
+ Deny from All<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p><strong>and then override this for directories you
<em>want</em> accessible. See the <a href="../misc/security_tips.html">Security Tips</a> page for more
nest-able, which can be used to implement simple
multiple-parameter tests. Example:</p>
- <div class="example"><pre>
-$ httpd -DReverseProxy ...
-
-# httpd.conf
-<IfDefine ReverseProxy>
- LoadModule rewrite_module modules/mod_rewrite.so
- LoadModule proxy_module modules/libproxy.so
-</IfDefine></pre></div>
+ <div class="example"><p><code>
+ httpd -DReverseProxy ...<br />
+ <br />
+ # httpd.conf<br />
+ <IfDefine ReverseProxy><br />
+ <span class="indent">
+ LoadModule rewrite_module modules/mod_rewrite.so<br />
+ LoadModule proxy_module modules/libproxy.so<br />
+ </span>
+ </IfDefine>
+ </code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="IfModule" id="IfModule"><IfModule></a> <a name="ifmodule" id="ifmodule">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
</a></th><td>Encloses directives that are processed conditional on the
presence or absence of a specific module</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
<strong>all</strong> access methods, and this is the usual
desired behavior. <strong>In the general case, access control
directives should not be placed within a
- <code class="directive"><limit></code> section.</strong></p>
+ <code class="directive"><Limit></code> section.</strong></p>
<p>The purpose of the <code class="directive"><Limit></code>
directive is to restrict the effect of the access controls to the
example applies the access control only to the methods POST, PUT,
and DELETE, leaving all other methods unprotected:</p>
- <div class="example"><pre>
-<Limit POST PUT DELETE>
- Require valid-user
-</Limit></pre></div>
+ <div class="example"><p><code>
+ <Limit POST PUT DELETE><br />
+ <span class="indent">
+ Require valid-user<br />
+ </span>
+ </Limit>
+ </code></p></div>
<p>The method names listed can be one or more of: <code>GET</code>,
<code>POST</code>, <code>PUT</code>, <code>DELETE</code>,
<p>For example:</p>
- <div class="example"><pre>
-<LimitExcept POST GET>
- Require valid-user
-<LimitExcept></pre></div>
+ <div class="example"><p><code>
+ <LimitExcept POST GET><br />
+ <span class="indent">
+ Require valid-user<br />
+ </span>
+ <LimitExcept>
+ </code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="LimitRequestBody" id="LimitRequestBody">LimitRequestBody</a> <a name="limitrequestbody" id="limitrequestbody">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
</a></th><td>Restricts the total size of the HTTP request body sent
directive. For example, to enable status requests, but allow them
only from browsers at foo.com, you might use:</p>
- <div class="example"><pre>
-<Location /status>
- SetHandler server-status
- Order Deny,Allow
- Deny from all
- Allow from .foo.com
-</Location></pre></div>
+ <div class="example"><p><code>
+ <Location /status><br />
+ <span class="indent">
+ SetHandler server-status<br />
+ Order Deny,Allow<br />
+ Deny from all<br />
+ Allow from .foo.com<br />
+ </span>
+ </Location>
+ </code></p></div>
<div class="note"><h3>Note about / (slash)</h3>
<p>The slash character has special meaning depending on where in a
<p>For example, without any + and - symbols:</p>
- <div class="example"><pre>
-<Directory /web/docs>
- Options Indexes FollowSymLinks
-</Directory>
-
-<Directory /web/docs/spec>
- Options Includes
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /web/docs><br />
+ <span class="indent">
+ Options Indexes FollowSymLinks<br />
+ </span>
+ </Directory><br />
+ <br />
+ <Directory /web/docs/spec><br />
+ <span class="indent">
+ Options Includes<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p>then only <code>Includes</code> will be set for the
/web/docs/spec directory. However if the second
<code class="directive">Options</code> directive uses the + and - symbols:</p>
- <div class="example"><pre>
-<Directory /web/docs>
- Options Indexes FollowSymLinks
-</Directory>
-
-<Directory /web/docs/spec>
- Options +Includes -Indexes
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /web/docs><br />
+ <span class="indent">
+ Options Indexes FollowSymLinks<br />
+ </span>
+ </Directory><br />
+ <br />
+ <Directory /web/docs/spec><br />
+ <span class="indent">
+ Options +Includes -Indexes<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p>then the options <code>FollowSymLinks</code> and
<code>Includes</code> are set for the /web/docs/spec directory.</p>
<div class="example"><p><code>
<Location /status><br />
- SetHandler server-status<br />
+ <span class="indent">
+ SetHandler server-status<br />
+ </span>
</Location>
</code></p></div>
<h3>See also</h3><ul><li><code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="SetInputFilter" id="SetInputFilter">SetInputFilter</a> <a name="setinputfilter" id="setinputfilter">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
in the <code>/www/data/</code> directory for server-side
includes.</p>
- <div class="example"><pre>
-<Directory /www/data/>
- SetOutputFilter INCLUDES
-</Directory></pre></div>
+ <div class="example"><p><code>
+ <Directory /www/data/><br />
+ <span class="indent">
+ SetOutputFilter INCLUDES<br />
+ </span>
+ </Directory>
+ </code></p></div>
<p>If more than one filter is specified, they must be separated
by semicolons in the order in which they should process the
reverse DNS lookup on the server IP address that the client
connected to in order to work out self-referential URLs.</p>
- <p><strong>Warning:</strong> if CGIs make assumptions about the
- values of <code>SERVER_NAME</code> they may be broken by this
- option. The client is essentially free to give whatever value
- they want as a hostname. But if the CGI is only using
- <code>SERVER_NAME</code> to construct self-referential URLs
+ <div class="warning"><h3>Warning:</h3>
+ <p>If CGIs make assumptions about the values of <code>SERVER_NAME</code>
+ they may be broken by this option. The client is essentially free
+ to give whatever value they want as a hostname. But if the CGI is
+ only using <code>SERVER_NAME</code> to construct self-referential URLs
then it should be just fine.</p>
+ </div>
<h3>See also</h3><ul><li><code class="directive"><a href="#servername">ServerName</a></code></li><li><code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="directive-section"><h2><a name="VirtualHost" id="VirtualHost"><VirtualHost></a> <a name="virtualhost" id="virtualhost">Directive</a></h2><table class="directive"><tr><th><a href="directive-dict.html#Description">Description:
</a></th><td>Contains directives that apply only to a specific
hostname or IP address</td></tr><tr><th><a href="directive-dict.html#Syntax">Syntax:
<div class="example"><h3>Example</h3><p><code>
<VirtualHost 10.1.2.3><br />
- ServerAdmin webmaster@host.foo.com<br />
- DocumentRoot /www/docs/host.foo.com<br />
- ServerName host.foo.com<br />
- ErrorLog logs/host.foo.com-error_log<br />
- TransferLog logs/host.foo.com-access_log<br />
+ <span class="indent">
+ ServerAdmin webmaster@host.foo.com<br />
+ DocumentRoot /www/docs/host.foo.com<br />
+ ServerName host.foo.com<br />
+ ErrorLog logs/host.foo.com-error_log<br />
+ TransferLog logs/host.foo.com-access_log<br />
+ </span>
</VirtualHost>
</code></p></div>
<div class="example"><p><code>
<VirtualHost [fe80::a00:20ff:fea7:ccea]><br />
- ServerAdmin webmaster@host.example.com<br />
- DocumentRoot /www/docs/host.example.com<br />
- ServerName host.example.com<br />
- ErrorLog logs/host.example.com-error_log<br />
- TransferLog logs/host.example.com-access_log<br />
+ <span class="indent">
+ ServerAdmin webmaster@host.example.com<br />
+ DocumentRoot /www/docs/host.example.com<br />
+ ServerName host.example.com<br />
+ ErrorLog logs/host.example.com-error_log<br />
+ TransferLog logs/host.example.com-access_log<br />
+ </span>
</VirtualHost>
</code></p></div>
accomplished with the <code>ifconfig alias</code> command (if
your OS supports it).</p>
+ <div class="note"><h3>Note</h3>
+ <p>The use of <code class="directive"><VirtualHost></code> does
+ <strong>not</strong> affect what addresses Apache listens on. You
+ may need to ensure that Apache is listening on the correct addresses
+ using <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code>.</p>
+ </div>
+
<p>When using IP-based virtual hosting, the special name
<code>_default_</code> can be specified in
which case this virtual host will match any IP address that is
to match all ports on that address. (This is recommended when used
with <code>_default_</code>.)</p>
- <p><strong>SECURITY</strong>: See the <a href="../misc/security_tips.html">security tips</a> document
- for details on why your security could be compromised if the
+ <div class="warning"><h3>Security</h3>
+ <p>See the <a href="../misc/security_tips.html">security tips</a>
+ document for details on why your security could be compromised if the
directory where logfiles are stored is writable by anyone other
than the user that starts the server.</p>
-
- <p><strong>NOTE</strong>: The use of <code class="directive"><VirtualHost></code> does <strong>not</strong>
- affect what addresses Apache listens on. You may need to ensure
- that Apache is listening on the correct addresses using <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code>.</p>
+ </div>
<h3>See also</h3><ul><li><a href="../vhosts/">Apache Virtual Host documentation</a></li><li><a href="../dns-caveats.html">Warnings about DNS and
Apache</a></li><li><a href="../bind.html">Setting
which addresses and ports Apache uses</a></li><li><a href="../sections.html">How
request, so you can use the following configuration to enable
such a script:</p>
- <example><pre>
-<Files "mypaths.shtml">
- Options +Includes
- SetOutputFilter INCLUDES
- AcceptPathInfo on
-</Files></pre>
+ <example>
+ <Files "mypaths.shtml"><br />
+ <indent>
+ Options +Includes<br />
+ SetOutputFilter INCLUDES<br />
+ AcceptPathInfo on<br />
+ </indent>
+ </Files>
</example>
</usage>
<code>/usr/local/.acl</code> and <code>/usr/local/web/.acl</code>
for directives, unless they have been disabled with</p>
- <example><pre>
-<Directory />
- AllowOverride None
-</Directory></pre>
+ <example>
+ <Directory /><br />
+ <indent>
+ AllowOverride None<br />
+ </indent>
+ </Directory>
</example>
</usage>
<seealso><directive module="core">AllowOverride</directive></seealso>
<code>/home/user/public_html</code>, but <code><Directory
/home/*/public_html></code> will match. Example:</p>
- <example><pre>
-<Directory /usr/local/httpd/htdocs>
- Options Indexes FollowSymLinks
-</Directory></pre>
+ <example>
+ <Directory /usr/local/httpd/htdocs><br />
+ <indent>
+ Options Indexes FollowSymLinks<br />
+ </indent>
+ </Directory>
</example>
<note>
href="#accessfilename">.htaccess</a> files. For example,
with</p>
- <example><pre>
-<Directory />
- AllowOverride None
-</Directory>
-
-<Directory /home/>
- AllowOverride FileInfo
-</Directory></pre>
+ <example>
+ <Directory /><br />
+ <indent>
+ AllowOverride None<br />
+ </indent>
+ </Directory><br />
+ <br />
+ <Directory /home/><br />
+ <indent>
+ AllowOverride FileInfo<br />
+ </indent>
+ </Directory>
</example>
<p>for access to the document <code>/home/web/dir/doc.html</code>
expressions are tested in the order they appeared in the
configuration file. For example, with</p>
- <example><pre>
-<Directory ~ abc$>
- # ... directives here ...
-</Directory></pre>
+ <example>
+ <Directory ~ abc$><br />
+ <indent>
+ # ... directives here ...<br />
+ </indent>
+ </Directory>
</example>
<p>The regular expression section won't be considered until after
recommended that you change this with a block such
as</strong></p>
- <example><pre>
-<Directory />
- Order Deny,Allow
- Deny from All
-</Directory></pre>
+ <example>
+ <Directory /><br />
+ <indent>
+ Order Deny,Allow<br />
+ Deny from All<br />
+ </indent>
+ </Directory>
</example>
<p><strong>and then override this for directories you
nest-able, which can be used to implement simple
multiple-parameter tests. Example:</p>
- <example><pre>
-$ httpd -DReverseProxy ...
-
-# httpd.conf
-<IfDefine ReverseProxy>
- LoadModule rewrite_module modules/mod_rewrite.so
- LoadModule proxy_module modules/libproxy.so
-</IfDefine></pre>
+ <example>
+ httpd -DReverseProxy ...<br />
+ <br />
+ # httpd.conf<br />
+ <IfDefine ReverseProxy><br />
+ <indent>
+ LoadModule rewrite_module modules/mod_rewrite.so<br />
+ LoadModule proxy_module modules/libproxy.so<br />
+ </indent>
+ </IfDefine>
</example>
</usage>
</directivesynopsis>
<strong>all</strong> access methods, and this is the usual
desired behavior. <strong>In the general case, access control
directives should not be placed within a
- <directive type="section">limit</directive> section.</strong></p>
+ <directive type="section">Limit</directive> section.</strong></p>
<p>The purpose of the <directive type="section">Limit</directive>
directive is to restrict the effect of the access controls to the
example applies the access control only to the methods POST, PUT,
and DELETE, leaving all other methods unprotected:</p>
- <example><pre>
-<Limit POST PUT DELETE>
- Require valid-user
-</Limit></pre>
+ <example>
+ <Limit POST PUT DELETE><br />
+ <indent>
+ Require valid-user<br />
+ </indent>
+ </Limit>
</example>
<p>The method names listed can be one or more of: <code>GET</code>,
<p>For example:</p>
- <example><pre>
-<LimitExcept POST GET>
- Require valid-user
-<LimitExcept></pre>
+ <example>
+ <LimitExcept POST GET><br />
+ <indent>
+ Require valid-user<br />
+ </indent>
+ <LimitExcept>
</example>
</usage>
directive. For example, to enable status requests, but allow them
only from browsers at foo.com, you might use:</p>
- <example><pre>
-<Location /status>
- SetHandler server-status
- Order Deny,Allow
- Deny from all
- Allow from .foo.com
-</Location></pre>
+ <example>
+ <Location /status><br />
+ <indent>
+ SetHandler server-status<br />
+ Order Deny,Allow<br />
+ Deny from all<br />
+ Allow from .foo.com<br />
+ </indent>
+ </Location>
</example>
<note><title>Note about / (slash)</title>
<p>For example, without any + and - symbols:</p>
- <example><pre>
-<Directory /web/docs>
- Options Indexes FollowSymLinks
-</Directory>
-
-<Directory /web/docs/spec>
- Options Includes
-</Directory></pre>
+ <example>
+ <Directory /web/docs><br />
+ <indent>
+ Options Indexes FollowSymLinks<br />
+ </indent>
+ </Directory><br />
+ <br />
+ <Directory /web/docs/spec><br />
+ <indent>
+ Options Includes<br />
+ </indent>
+ </Directory>
</example>
<p>then only <code>Includes</code> will be set for the
/web/docs/spec directory. However if the second
<directive>Options</directive> directive uses the + and - symbols:</p>
- <example><pre>
-<Directory /web/docs>
- Options Indexes FollowSymLinks
-</Directory>
-
-<Directory /web/docs/spec>
- Options +Includes -Indexes
-</Directory></pre>
+ <example>
+ <Directory /web/docs><br />
+ <indent>
+ Options Indexes FollowSymLinks<br />
+ </indent>
+ </Directory><br />
+ <br />
+ <Directory /web/docs/spec><br />
+ <indent>
+ Options +Includes -Indexes<br />
+ </indent>
+ </Directory>
</example>
<p>then the options <code>FollowSymLinks</code> and
<example>
<Location /status><br />
- SetHandler server-status<br />
+ <indent>
+ SetHandler server-status<br />
+ </indent>
</Location>
</example>
</usage>
in the <code>/www/data/</code> directory for server-side
includes.</p>
- <example><pre>
-<Directory /www/data/>
- SetOutputFilter INCLUDES
-</Directory></pre>
+ <example>
+ <Directory /www/data/><br />
+ <indent>
+ SetOutputFilter INCLUDES<br />
+ </indent>
+ </Directory>
</example>
<p>If more than one filter is specified, they must be separated
reverse DNS lookup on the server IP address that the client
connected to in order to work out self-referential URLs.</p>
- <p><strong>Warning:</strong> if CGIs make assumptions about the
- values of <code>SERVER_NAME</code> they may be broken by this
- option. The client is essentially free to give whatever value
- they want as a hostname. But if the CGI is only using
- <code>SERVER_NAME</code> to construct self-referential URLs
+ <note type="warning"><title>Warning:</title>
+ <p>If CGIs make assumptions about the values of <code>SERVER_NAME</code>
+ they may be broken by this option. The client is essentially free
+ to give whatever value they want as a hostname. But if the CGI is
+ only using <code>SERVER_NAME</code> to construct self-referential URLs
then it should be just fine.</p>
+ </note>
</usage>
<seealso><directive module="core">ServerName</directive></seealso>
<seealso><directive module="mpm_common">Listen</directive></seealso>
<example><title>Example</title>
<VirtualHost 10.1.2.3><br />
- ServerAdmin webmaster@host.foo.com<br />
- DocumentRoot /www/docs/host.foo.com<br />
- ServerName host.foo.com<br />
- ErrorLog logs/host.foo.com-error_log<br />
- TransferLog logs/host.foo.com-access_log<br />
+ <indent>
+ ServerAdmin webmaster@host.foo.com<br />
+ DocumentRoot /www/docs/host.foo.com<br />
+ ServerName host.foo.com<br />
+ ErrorLog logs/host.foo.com-error_log<br />
+ TransferLog logs/host.foo.com-access_log<br />
+ </indent>
</VirtualHost>
</example>
<example>
<VirtualHost [fe80::a00:20ff:fea7:ccea]><br />
- ServerAdmin webmaster@host.example.com<br />
- DocumentRoot /www/docs/host.example.com<br />
- ServerName host.example.com<br />
- ErrorLog logs/host.example.com-error_log<br />
- TransferLog logs/host.example.com-access_log<br />
+ <indent>
+ ServerAdmin webmaster@host.example.com<br />
+ DocumentRoot /www/docs/host.example.com<br />
+ ServerName host.example.com<br />
+ ErrorLog logs/host.example.com-error_log<br />
+ TransferLog logs/host.example.com-access_log<br />
+ </indent>
</VirtualHost>
</example>
accomplished with the <code>ifconfig alias</code> command (if
your OS supports it).</p>
+ <note><title>Note</title>
+ <p>The use of <directive type="section">VirtualHost</directive> does
+ <strong>not</strong> affect what addresses Apache listens on. You
+ may need to ensure that Apache is listening on the correct addresses
+ using <directive module="mpm_common">Listen</directive>.</p>
+ </note>
+
<p>When using IP-based virtual hosting, the special name
<code>_default_</code> can be specified in
which case this virtual host will match any IP address that is
to match all ports on that address. (This is recommended when used
with <code>_default_</code>.)</p>
- <p><strong>SECURITY</strong>: See the <a
- href="../misc/security_tips.html">security tips</a> document
- for details on why your security could be compromised if the
+ <note type="warning"><title>Security</title>
+ <p>See the <a href="../misc/security_tips.html">security tips</a>
+ document for details on why your security could be compromised if the
directory where logfiles are stored is writable by anyone other
than the user that starts the server.</p>
-
- <p><strong>NOTE</strong>: The use of <directive
- type="section">VirtualHost</directive> does <strong>not</strong>
- affect what addresses Apache listens on. You may need to ensure
- that Apache is listening on the correct addresses using <directive
- module="mpm_common">Listen</directive>.</p>
+ </note>
</usage>
<seealso><a href="../vhosts/">Apache Virtual Host documentation</a></seealso>
<seealso><a href="../dns-caveats.html">Warnings about DNS and