title: Get rid of ending forward slash for Apache virtual-hosts
body: <p>I've set-up Apache on Windows 7 to have a few Virtual Hosts for local development purposes.<br>
  The <code>httpd-vhosts.conf</code> file has this format for all virtual hosts:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName example.dev
     DocumentRoot "C:/Program Files (x86)/Apache2.2/htdocs/example.dev/"  # &lt;--removing the forwardslash here doesn't fix this
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>The Windows <code>hosts</code> file has this for each:</p>
  
  <pre><code>127.0.0.1       example.dev
  </code></pre>
  
  <p>Now, what bothers me is that each time I type <code>example.dev</code> in the address bar, it gets added an extra trailing forwardslash, becoming <code>example.com/</code>. I get this for all my virtual hosts. Simply accessing <code>localhost</code> does <strong>not</strong> add the trailing forwardslash. This does <strong>not</strong> happen: <code>localhost/</code>.<br>
  Not a big deal, but it bothers me and I can't find a solution to that.  </p>
  
  <p>Any ideas?</p>