How to Block an IP address range using the .htaccess file

前端 未结 6 708
感情败类
感情败类 2020-12-02 20:12

I have detected that a range of IP addresses may be used in a malicious way and I don\'t know how to block it.

I would like to block the range 66.249.74.* from acces

6条回答
  •  离开以前
    2020-12-02 20:46

    Use just the first 3 octets

    Order Allow,Deny
    Deny from 66.249.74.
    Allow from all
    

提交回复
热议问题