title: apache virtual host not opening when given subfolders
body: <p>I have set up a virtual host in apache this morning and it works well for the root folder. </p>
  
  <p>Settings for virtual hosts - </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName dev.abcworld.com
      ServerAlias dev.abcworld.com
      DocumentRoot C:\nem\wamp\www\dev\html
  
      &lt;Directory C:\nem\wamp\www\dev\html&gt;
      Options Indexes FollowSymLinks 
      AllowOverride None 
      Order allow,deny 
      Allow from all 
  &lt;/Directory&gt; 
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      ServerName prod.abcworld.com
      ServerAlias prod.abcworld.com
      DocumentRoot C:\nem\wamp\www\prod\html
  
      &lt;Directory C:\nem\wamp\www\prod\html&gt;
      Options Indexes FollowSymLinks 
      AllowOverride None 
      Order allow,deny 
      Allow from all 
  &lt;/Directory&gt; 
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Example : 
  dev.abcworld.com   -    works well
  prod.abcworld.com     -    works well</p>
  
  <p>but when ever I click a link in dev.abcworld.com which is supposed to redirect to another page in the project like dev.abcworld.com/payments or dev.abcworld.com/somthing or dev.abcworld.com/anything it always says "The requested URL /apartments was not found on this server."</p>
  
  <p>why does is works only on the root folder? how can i make this work for the whole project both in dev and prod? </p>