title: Apache2 access restricted to local LAN
body: <p>Until recently, I had a bunch of virtual sites set up like so:</p>
  
  <pre><code>&lt;VirtualHost 127.0.0.1:1234&gt;
      ...
  </code></pre>
  
  <p>This works fine for testing on my local machine, where I use a Linux desktop.  In order to test how MS and explorer displays my pages from my Windows laptop, I changed this to</p>
  
  <pre><code>&lt;VirtualHost *:1234&gt;
      ...
  </code></pre>
  
  <p>Which also works fine, calling the site up from <a href="http://[mylinuxservername]:1234" rel="noreferrer">http://[mylinuxservername]:1234</a> on my laptop's IE.  However, I want to restrict that wildcard to the local lan.  Plugging in any ip, like 192.nnn.nnn.nnn or 192.*.*.* where the wildcard is above results in 403 Forbidden on the windows machine.  The local server still works fine on my Linux box:</p>
  
  <pre><code>&lt;VirtualHost 127.0.0.1:1234 192.*.*.*:1234&gt;
      ...
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&lt;VirtualHost 127.0.0.1:1234 192.nnn.nnn.nnn:1234&gt; #exact IP of laptop
      ...
  </code></pre>
  
  <p>Anyway, I don't like that wildcard in the second config example above.  Hints anyone?</p>