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

docs/manual/vhosts/ip-based.xml

index 69c323b3bb54705c99124aca0d32ce4fbd0a5d45..9cc22289c33b96654896c4b356c888d7e31867e9 100644 (file)
@@ -136,18 +136,18 @@ Virtual Hosts</a> to help you decide.  </p>
     <highlight language="config">
 &lt;VirtualHost 172.20.30.40:80&gt;
     ServerAdmin webmaster@www1.example.com
-    DocumentRoot /www/vhosts/www1
+    DocumentRoot "/www/vhosts/www1"
     ServerName www1.example.com
-    ErrorLog /www/logs/www1/error_log
-    CustomLog /www/logs/www1/access_log combined
+    ErrorLog "/www/logs/www1/error_log"
+    CustomLog "/www/logs/www1/access_log" combined
 &lt;/VirtualHost&gt;
 
 &lt;VirtualHost 172.20.30.50:80&gt;
-    ServerAdmin webmaster@www2.example.org
-    DocumentRoot /www/vhosts/www2
+    ServerAdmin "webmaster@www2.example.org"
+    DocumentRoot "/www/vhosts/www2"
     ServerName www2.example.org
-    ErrorLog /www/logs/www2/error_log
-    CustomLog /www/logs/www2/access_log combined
+    ErrorLog "/www/logs/www2/error_log"
+    CustomLog "/www/logs/www2/access_log" combined
 &lt;/VirtualHost&gt;
     </highlight>