]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
The first configuration example in the file is misconfiguration.
authorVincent Deffontaines <gryzor@apache.org>
Sat, 27 Jun 2009 07:06:24 +0000 (07:06 +0000)
committerVincent Deffontaines <gryzor@apache.org>
Sat, 27 Jun 2009 07:06:24 +0000 (07:06 +0000)
Mark it so "quick" reader won't copy/paste it to their config.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@788932 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/dns-caveats.html.en
docs/manual/dns-caveats.xml

index 6e8ecfab4d9b09160d08f0e64c4fee7577c9508c..23b2be0a33269af7774e99166046653bea91bcbe 100644 (file)
@@ -44,6 +44,7 @@
     
 
     <div class="example"><p><code>
+      # This is a misconfiguration example, do not use on your server
       &lt;VirtualHost www.abc.dom&gt; <br />
       ServerAdmin webgirl@abc.dom <br />
       DocumentRoot /www/abc <br />
     reason then you might be able to get away with running Apache
     with the <code>HOSTRESORDER</code> environment variable set to
     "local". This all depends on what OS and resolver libraries you
-    are using. It also affects CGIs unless you use 
-    <code class="module"><a href="./mod/mod_env.html">mod_env</a></code> to control the environment. It's best 
+    are using. It also affects CGIs unless you use
+    <code class="module"><a href="./mod/mod_env.html">mod_env</a></code> to control the environment. It's best
     to consult the man pages or FAQs for your OS.</p>
   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
 <div class="section">
 
     <ul>
       <li>
-        use IP addresses in 
+        use IP addresses in
         <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code>
       </li>
 
       <li>
-        use IP addresses in 
+        use IP addresses in
         <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
       </li>
 
index df7ce15dded21a2b5303af6ef5e31d70e84dff7a..f9fcc3e6047aac44c0b799db8ed24f827f670e3f 100644 (file)
@@ -38,6 +38,7 @@
     <title>A Simple Example</title>
 
     <example>
+      # This is a misconfiguration example, do not use on your server
       &lt;VirtualHost www.abc.dom&gt; <br />
       ServerAdmin webgirl@abc.dom <br />
       DocumentRoot /www/abc <br />
     reason then you might be able to get away with running Apache
     with the <code>HOSTRESORDER</code> environment variable set to
     "local". This all depends on what OS and resolver libraries you
-    are using. It also affects CGIs unless you use 
-    <module>mod_env</module> to control the environment. It's best 
+    are using. It also affects CGIs unless you use
+    <module>mod_env</module> to control the environment. It's best
     to consult the man pages or FAQs for your OS.</p>
   </section>
 
 
     <ul>
       <li>
-        use IP addresses in 
+        use IP addresses in
         <directive module="core">VirtualHost</directive>
       </li>
 
       <li>
-        use IP addresses in 
+        use IP addresses in
         <directive module="mpm_common">Listen</directive>
       </li>