title: Virtualhosts config works on XAMPP 5.6.15 but not XAMPP 7.0.1
body: <p>2x Windows 10 Pro computers with recent clean installs. 1 a couple of weeks old the other days. Am I forgetting to configure something?!</p>
  
  <p>Both are listening to the right ports.</p>
  
  <p>Code looks like this: (I'm 100% sure paths point to the correct folders too)</p>
  
  <pre><code>NameVirtualHost *
  
  &lt;VirtualHost *&gt;
      DocumentRoot "C:\xampp\htdocs"
      ServerName localhost
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:81&gt;
      DocumentRoot "Path1"
      ServerName project1.dev
      &lt;Directory "Path1"&gt;
          Options all
          AllowOverride all
          Allow from all
          Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:82&gt;
      DocumentRoot "Path2"
      ServerName project2.dev
      &lt;Directory "Path2"&gt;
          Options all
          AllowOverride all
          Allow from all
          Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>localhost:80 still works on both, but if I try using each project's port to access their respective pages it only works on the oldest installation.</p>
  
  <p>Just says it can't reach the page no error, ether from the same machine or access trough LAN and WAN.</p>
  
  <p>I'm out of ideas... Thanks for your time.</p>
  
  <p>Edit: I forgot to mention Apache doesn't seem to be logging the access attempts on the newer installation. It logs if I access the dashboard or phpmyadmin but not if I try using the ports for the projects' websites.</p>
  
  <p>Edit2: I have confirmed both virtualhosts are active using <code>httpd -D DUMP_VHOSTS</code>. So now the issue seems to be that I'm unable to simple access the virtualhosts for some reason. Something is blocking the connection between my browsers and apache irrelevant of it I'm local or networked.</p>
  
  <p>Edit3: <strong>Important update</strong> - I tried installint xampp on another computer and trying it out and it still didn't work. But while installing I remembered I was installing the latest version XAMPP 7.0.1. So I installed XAMPP on yet another computer but now using the old XAMPP 5.6.15 version that was working on the older windows instalation and guess what, it works. So the problem is related to the updated XAMPP and possibly nothing else. I'll update the title too.</p>
  
  <p>Edit4: Now that I know it's something related to XAMPP/Apache I went back to the virtualhost config and by trial and error noticed that it's something related to <code>Require all granted</code> as removing it or changing to <code>Require all denied</code> now returns a 403 error Access forbidden! page (improved from simply not being able to connect). Since all pages that suggest fixes for the 403 error involve <code>Require all granted</code> I'll have to keep digging.</p>
  
  <p>Edit5: <strong>Important Update</strong> - I decided to see if it could be something related to my files so I started deleting some. Deleting my index.php made things work again so I dug deeper and noticed that If I deleted the code I have regarding Sessions everything would load as expected. So now it seems it's something specific to the way PHP 7.0.1 handles sessions.</p>
  
  <p>Edit6: Ok, it's specifically <code>Session_start();</code> that's breaking things.</p>