title: Apache - Restrict to IP not working
body: <p>I've a subdomain that I only want to be accessible internally; I'm trying to achieve this in Apache by editing the VirtualHost block for that domain. Can anybody see where I'm going wrong? Note, my internal IP address here are 192.168.10.xxx. My code is as follows:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
    ServerName test.example.co.uk
    DocumentRoot /var/www/test
    ErrorLog /var/log/apache2/error_test_co_uk.log
    LogLevel warn
    CustomLog /var/log/apache2/access_test_co_uk.log combined
    &lt;Directory /var/www/test&gt;
      Order allow,deny
      Allow from 192.168.10.0/24
      Allow from 127
    &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Thanks</p>