title: Apache won't start with spaces in pathname in httpd.conf (even with quotes)
body: <p><strong>Problem</strong></p>
  
  <p>Apache won't start if there are spaces in the pathname in a virtual host configuration.</p>
  
  <p>The usual solution is to just wrap the pathname in double quotes, but that doesn't fix it.</p>
  
  <p>I WANT to have spaces in my pathname, so changing to dashes or what not isn't really an option.</p>
  
  <p>The VERY same configuration as below without spaces works.</p>
  
  <p><strong>Sample</strong></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot "C:/Users/Patrick/Google Drive/Projects/My Project"
      ServerName local.example.com
      ServerAlias local.example.com
      &lt;Directory "C:/Users/Patrick/Google Drive/Projects/My Project"&gt;
      Options Indexes FollowSymLinks ExecCGI Includes
          AllowOverride All
          Order allow,deny
          Allow from all
          &lt;IfModule mod_php5.c&gt;
              php_admin_flag engine on
              # choose the one you want:
              # This is for E_ALL &amp; ~E_STRICT &amp; ~E_DEPRECATED
              # php_admin_value error_reporting 22527
              # This is for E_ERROR
              php_admin_value error_reporting 1
          &lt;/IfModule&gt;
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>