When using the following, I am having a problem blocking all access from unlisted IPs:
<Directory /> Order allow,deny Allow from 192.168.100.10 Options -MultiViews AllowOverride All </Directory>
When at any host other than
192.168.100.10, and I hit the
ServerName (which serves
DocumentRoot /var/www/website), I am fed the
./error/noindex.html page, not the Forbidden page.
Note that on the
ErrorLog I see:
Wed May 16 22:08:46 2012] [error] [client 192.168.100.11] client denied by server configuration: /var/www/website/
Interestingly, when I hit
http://ServerName/website on a blocked server, I do see the Forbidden page. When I hit
http://ServerName/website on the allowed host, I see Not Found.
What is wrong with the configuration?
I wish to deny all to the root, except for the specific listed address.
 vhost config: http://pastebin.com/ucziGF4Q