diff options
Diffstat (limited to 'docs/manual/dns-caveats.html.en')
-rw-r--r-- | docs/manual/dns-caveats.html.en | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/docs/manual/dns-caveats.html.en b/docs/manual/dns-caveats.html.en index e7b7b328..d081b62e 100644 --- a/docs/manual/dns-caveats.html.en +++ b/docs/manual/dns-caveats.html.en @@ -9,7 +9,7 @@ <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <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" /> -<script src="./style/scripts/prettify.js" type="text/javascript"> +<script src="./style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="./images/favicon.ico" rel="shortcut icon" /></head> @@ -46,13 +46,11 @@ <h2><a name="example" id="example">A Simple Example</a></h2> - <pre class="prettyprint lang-config"> -# This is a misconfiguration example, do not use on your server + <pre class="prettyprint lang-config"># This is a misconfiguration example, do not use on your server <VirtualHost www.example.dom> ServerAdmin webgirl@example.dom DocumentRoot /www/example -</VirtualHost> - </pre> +</VirtualHost></pre> <p>In order for the server to function properly, it absolutely needs @@ -69,13 +67,11 @@ <p>Suppose that <code>www.example.dom</code> has address 192.0.2.1. Then consider this configuration snippet:</p> - <pre class="prettyprint lang-config"> -# This is a misconfiguration example, do not use on your server + <pre class="prettyprint lang-config"># This is a misconfiguration example, do not use on your server <VirtualHost 192.0.2.1> ServerAdmin webgirl@example.dom DocumentRoot /www/example -</VirtualHost> - </pre> +</VirtualHost></pre> <p>This time httpd needs to use reverse DNS to find the @@ -89,13 +85,11 @@ <p>Here is a snippet that avoids both of these problems:</p> - <pre class="prettyprint lang-config"> -<VirtualHost 192.0.2.1> + <pre class="prettyprint lang-config"><VirtualHost 192.0.2.1> ServerName www.example.dom ServerAdmin webgirl@example.dom DocumentRoot /www/example -</VirtualHost> - </pre> +</VirtualHost></pre> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> @@ -104,16 +98,14 @@ <p>Consider this configuration snippet:</p> - <pre class="prettyprint lang-config"> -<VirtualHost www.example1.dom> + <pre class="prettyprint lang-config"><VirtualHost www.example1.dom> ServerAdmin webgirl@example1.dom DocumentRoot /www/example1 </VirtualHost> <VirtualHost www.example2.dom> ServerAdmin webguy@example2.dom DocumentRoot /www/example2 -</VirtualHost> - </pre> +</VirtualHost></pre> <p>Suppose that you've assigned 192.0.2.1 to @@ -214,7 +206,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/dns-caveats.html'; } })(window, document); //--><!]]></script></div><div id="footer"> -<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> +<p class="apache">Copyright 2014 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> <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[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |