Pages
Home
My Zend Framework CMS
Creating a datagrid in Zend Framework
My Portfolio
Monday, May 14, 2012
.htaccess block IP
If you have a need to
block
person or a bot on your website, there is an easy way to do this using
htaccess
.
order allow
,
deny deny from 4
.
4
.
4
.
4 deny from 22
.
22
.
22
.
22 allow from all
After
deny from
, you will add IP address that you want to block. You can add unlimited number of rows with IP addresses that you want to block.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment