Home | Sitemap | FAQ | Contact Us


How to deny users by IP?

Is there a hacker who tried to hack your site? Do you find some baleful access from a IP block? You just need add below simple codes into your .htaccess file to block the pesky visitors.

order allow,deny
deny from 152.66.1.177
deny from 203.113
allow from all

You can deny access based upon IP address or an IP block. The above blocks access to the site from 152.66.1.177, and from any sub domain under the IP block 203.113 (203.113.0.1 to 203.113.255.255). You can also allow or deny by domain name rather than IP address (allow from yahoo.com works for www.yahoo.com or groups.yahoo.com, etc.)

Back To Tips of Web Log Analysis

 



 

Home | Features | Free Trial | Buy Now! | Support
Contact us | Privacy Policy | Reseller
Copyright © 2001-2014 Nihuo Software,Inc