title: angular 2 xampp server
body: <p>I'm trying to set my server im xampp to run an application with the angular 2 quickstart. so far I download the quickstart project to folder in the htdocs/project, set the httpd-vhosts.conf to the folder</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerName angular2Teste.com
          DocumentRoot "C:/xampp/htdocs/projects/src"
  
      &lt;Directory "C:/xampp/htdocs/projects/src"&gt;
              Options Indexes FollowSymLinks
              AllowOverride All
              Order allow,deny
              Allow from all
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>with this I'm able to open the project in the browser with the url angular2teste.com. the problem is that the angular quickstart project is set to have the node modules in the parent folder</p>
  
  <pre><code>-project
  --node_modules
  --src
  ---index.html
  </code></pre>
  
  <p>as far as I can tell I will need a .htaccess in my directory to set the index.html as root file to all the angular route calls, but also to redirect all the calls from the node_modules to the parent folder but I'm struggle with this, .htaccess is not my strong. 
  Any ideias as I can set the .htaccess file?</p>