I'm trying to configure some IP blocking on my server and I have some questions about the syntax. I would like to deny a whole IP range of 1.2.3.*, where * is 1-255 since there's been some spambot activity coming from a specific set of addresses.
Under the Directory tag I have:
<Directory /sitename>
stuff
Deny from 1.2.3.1/24
Deny from 4.5.6.7
Deny from etcetcetc
stuff
</Directory>
Is this the right syntax?
Under the Directory tag I have:
<Directory /sitename>
stuff
Deny from 1.2.3.1/24
Deny from 4.5.6.7
Deny from etcetcetc
stuff
</Directory>
Is this the right syntax?