Le samedi 05 février 2011 11:44:25, Klaus Becker a écrit : > 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
in "bannedips.php", I deleted the last, empty line, and now the above error message desappeared. but I did not find a way to run "updateBannedIPs.sh" on free.fr, neither any other admin script. Klaus _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
