title: Set an Apache IP Whitelist
body: <p>I'm currently creating some web-app for our department.
  The department is part of a greater intranet who serve many more department of course.</p>
  
  <p>I've setup a WAMP enviroment on a PC that's never used and developed some simple application to be used inside this department.</p>
  
  <p>For every app i've created an alias, and a sort of "home page" where you can see an "index" of the web apps.</p>
  
  <p>Now i've to setup apache to deny the access to the various web app except a list of IP.</p>
  
  <p>I've tried using the <a href="http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html" rel="noreferrer">authz_host</a> to accomplish this but it doesn't work.</p>
  
  <p>Following the copypaste from the Alias of a web app.</p>
  
  <pre><code>Alias /national-alerts/ "c:/wamp/www/national-alerts/" 
  
  &lt;Directory "c:/wamp/www/national-alerts/"&gt;
      Options Indexes FollowSymLinks MultiViews
      AllowOverride all
         Order deny,allow
      Deny from all
      Allow from 10.176.164.53
      Allow from 10.176.162.144
      Allow from 10.176.162.219
      Allow from 10.176.160.202
      Allow from 10.176.165.143
      Allow from 10.176.162.209
      Allow from 10.176.166.46
      Allow from 10.176.162.119
      Allow from 10.176.160.232
      Allow from 10.176.162.53
      Allow from 10.176.164.33
      Allow from 10.176.161.185
      Allow from 10.176.162.111
  &lt;/Directory&gt;
  </code></pre>
  
  <p>All of these IPs are from the internal IP of the intranet.
  As result any access get an 'Access Denied' like the Allow has been ignored totally.</p>
  
  <p>Can someone help me pointing to the right example/documentation?</p>