]> granicus.if.org Git - apache/commitdiff
Quote DocumentRoot filesystem paths.
authorKen Coar <coar@apache.org>
Wed, 15 Apr 2015 06:04:39 +0000 (06:04 +0000)
committerKen Coar <coar@apache.org>
Wed, 15 Apr 2015 06:04:39 +0000 (06:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673652 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/dns-caveats.xml

index 2ff924b102888c5197df895e38f4dbbe779eda33..624fd86cb4a7db80461ce330b23fa3e9360c56a5 100644 (file)
@@ -41,7 +41,7 @@
 # This is a misconfiguration example, do not use on your server
 &lt;VirtualHost www.example.dom&gt;
   ServerAdmin webgirl@example.dom
-  DocumentRoot /www/example
+  DocumentRoot "/www/example"
 &lt;/VirtualHost&gt;
     </highlight>
 
@@ -63,7 +63,7 @@
 # This is a misconfiguration example, do not use on your server
 &lt;VirtualHost 192.0.2.1&gt;
   ServerAdmin webgirl@example.dom
-  DocumentRoot /www/example
+  DocumentRoot "/www/example"
 &lt;/VirtualHost&gt;
     </highlight>
 
@@ -82,7 +82,7 @@
 &lt;VirtualHost 192.0.2.1&gt;
   ServerName www.example.dom
   ServerAdmin webgirl@example.dom
-  DocumentRoot /www/example
+  DocumentRoot "/www/example"
 &lt;/VirtualHost&gt;
     </highlight>
   </section>
     <highlight language="config">
 &lt;VirtualHost www.example1.dom&gt;
   ServerAdmin webgirl@example1.dom
-  DocumentRoot /www/example1
+  DocumentRoot "/www/example1"
 &lt;/VirtualHost&gt;
 &lt;VirtualHost www.example2.dom&gt;
   ServerAdmin webguy@example2.dom
-  DocumentRoot /www/example2
+  DocumentRoot "/www/example2"
 &lt;/VirtualHost&gt;
     </highlight>