-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
*coughs* Except, according to ipcalc, it should be 218.98.32.0/19
Oops....
Cian
Patrick Stack wrote:
> Yes, that's exactly what I was looking for (the correct syntax), Cian
>> Tnx
> Patrick
>> Cian Davis wrote:
>> Correct me if I'm wrong but isn't that range just 218.98.32.0/18 so
> makes for a very simple Deny from?
>> Regards,
> Cian
>> Patrick Stack wrote:
>>> >>> Anyone know the syntax for banning a block of IP addresses in
> >>> .htaccess?
> >>>
> >>> I want to deny access to all IPs from 218.98.32.0 to 218.98.63.255
> >>> as I'm getting tons of comment spam from this Chinese source. Is
> >>> there a way to deny with a single line, or do I have to put each
> >>> one on a separate line like so: deny from 218.98.32. deny from
> >>> 218.98.33. deny from 218.98.34. deny from 218.98.35. deny from
> >>> 218.98.36. deny from 218.98.37. deny from 218.98.38. deny from
> >>> 218.98.39. deny from 218.98.40. deny from 218.98.41. and so on?
> >>>
> >>> I've googled and read extensively online but haven't come across an
> >>> answer yet.
> >>>
> >>> Patrick Stack
> >>>
>>>>>>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFM3xN2yUma7R/3b8RAn43AJsHh2xfxBj3kHgN+nYlNcXXMn9dGwCguNce
2re9L7+3Qfymr/oABfsM6tk=
=ykTF
-----END PGP SIGNATURE-----
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!