[Mediawiki-l] updateBannedIPs.sh
Klaus Becker
colonius at free.fr
Sat Feb 5 10:44:25 UTC 2011
Hi,
I try to use updateBannedIPs.sh on http://c2ilibre.free.fr, as described at
http://www.mediawiki.org/wiki/Manual:Combating_spam.
I added the line "require_once("$IP/extensions/bannedips.php");" to
"LocalSettings.php", and I put "bannedips.php" and "updateBannedIPs.sh" into
the folder "extensions". "updateBannedIPs.sh" has the rights 644, and I cannot
change at.
"updateBannedIPs.sh" works on my computer, but how to run it on the web? When
I indicate the adress "http://c2ilibre.free.fr/extensions/updateBannedIPs.sh"
in firefox, it will download the file. I use Debian/Linux.
For the moment, my wiki says:
"0.0.0.0,0.0.3.0,0.2.0.0,1.0.0.0,1.1.1.1,1.1.2.3,1.186.6.110,......
Warning: Cannot modify header information - headers already sent by (output
started at /mnt/142/sda/5/a/c2ilibre/extensions/bannedips.php:1) in
/mnt/142/sda/5/a/c2ilibre/includes/WebResponse.php on line 16
greetings
Klaus
More information about the MediaWiki-l
mailing list