Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-22 16:53:08

johnnie
Member
Registered: 2007-03-10
Posts: 58

Sitewide IP ban?

Is it possible to do a complete, sitewide IP ban? I have several spambots roaming my site and I would like to present them with an ‘unauthorized’-header without having to modify my .htaccess file for every IP.

Offline

#2 2009-01-22 18:11:26

TheEric
Plugin Author
From: Wyoming
Registered: 2004-09-17
Posts: 566

Re: Sitewide IP ban?

A better option would be to use .htaccess and ban them before they even hit textpattern.

e.g., the following :

order allow,deny
deny from 123.123.123.123
deny from 123.123.123.*
deny from 123.123.*
allow from all

Offline

Board footer

Powered by FluxBB