Posts Tagged ‘allow’

Apache .htaccess – Allow / Deny access from certain IPs

Tuesday, March 2, 2010 0:02 No Comments

If  your website is under contruction and you want to allow access just to certain IP numbers, placing the following code in the .htaccess  file, in the website root directory, you can block access to everyone except the IP numbers you specify. order deny,allow deny from all allow from 76.33.193.98 allow from 84.23.122.204 allow from 93.34.133.203 [...]

This was posted under category: Unix/Linux, Web Tags: , , , , , ,