ikiwiki/doc/bugs/Spam:_recent_changes_discus...

46 lines
1.7 KiB
Plaintext
Raw Normal View History

2014-11-21 00:40:05 +01:00
We have a weird spam problem on our site - must be something via CGI.
2014-11-21 00:42:01 +01:00
see <http://www.dk0tu.de/recentchanges/discussion/>
2014-11-21 00:40:05 +01:00
The content is changing frequently without being checked into the git repository. Any ideas?
2014-11-21 00:42:01 +01:00
--[[bastla]]
2014-11-26 13:10:01 +01:00
> Please check your web server logs for any error messages from the CGI.
> It seems likely that the spammer is editing that page but the changes
> are somehow not getting committed or pushed.
>
> I can't tell you much without knowing details of your setup.
> For instance, are you using the suggested git repository setup
> shown in the diagram on the [[rcs/git]] page, or something
> different? Can you publish a (possibly censored) setup file somewhere?
>
> It would probably also be worthwhile to compare the git history of
> `srcdir/.git` with the git history of the bare repository, if you
> have one.
>
> To recover, you could undo the spam in the `srcdir` (as the user ID
> that owns the wiki), commit that, and merge with the bare repository
> if necessary.
>
2014-11-26 13:15:44 +01:00
> ----
>
> When I tried editing the spammed page to clear it, I got this error:
>
> Error: /srv/www/Kurse/AFu-Lizenz/e09.tex independently created, not overwriting with version from Kurse/AFu-Lizenz/e09.tex
>
> Your srcdir and destdir seem to have got out of sync. You might need
> to rebuild the wiki.
>
> (I think I'd have received the same error for *any* edit right now.)
>
> If you're going to enable completely anonymous editing, I
> recommend monitoring the wiki more carefully. It might be useful
> to enable the `syslog` option so that wiki errors go to the
> system log.
>
2014-11-26 13:10:01 +01:00
> --[[smcv]]
2015-03-01 14:15:56 +01:00
>> Whoever runs this wiki seems to have fixed it and enabled authentication now,
>> so I'm going to consider this [[done]]. --[[smcv]]