You can definetly disable access to a directory based on IP with mod_access (included in most linux distributions):

i.e.

&lt;Directory /docroot&gt;
 Order Deny,Allow
 Deny from all
 Allow from 10.1.2.0/24 
&lt;/Directory&gt;


If you block the access to the whole document root for that vhost then the user from outside should not get more than 403 Forbidden all the time.

Can I restrict a vhost to only a local IP?
What are some of the largest and most popular websites in the world written in php? I know 1 - this is wikipedia, tell please another large website.
