]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Spam:_recent_changes_discussion.mdwn
Change Projects link to point to projects DB
[ikiwiki.git] / doc / bugs / Spam:_recent_changes_discussion.mdwn
1 We have a weird spam problem on our site - must be something via CGI.
2
3 see <http://www.dk0tu.de/recentchanges/discussion/>
4
5 The content is changing frequently without being checked into the git repository. Any ideas?
6
7 --[[bastla]]
8
9 > Please check your web server logs for any error messages from the CGI.
10 > It seems likely that the spammer is editing that page but the changes
11 > are somehow not getting committed or pushed.
12 >
13 > I can't tell you much without knowing details of your setup.
14 > For instance, are you using the suggested git repository setup
15 > shown in the diagram on the [[rcs/git]] page, or something
16 > different? Can you publish a (possibly censored) setup file somewhere?
17 >
18 > It would probably also be worthwhile to compare the git history of
19 > `srcdir/.git` with the git history of the bare repository, if you
20 > have one.
21 >
22 > To recover, you could undo the spam in the `srcdir` (as the user ID
23 > that owns the wiki), commit that, and merge with the bare repository
24 > if necessary.
25 >
26 > ----
27 >
28 > When I tried editing the spammed page to clear it, I got this error:
29 >
30 >     Error: /srv/www/Kurse/AFu-Lizenz/e09.tex independently created, not overwriting with version from Kurse/AFu-Lizenz/e09.tex
31 >
32 > Your srcdir and destdir seem to have got out of sync. You might need
33 > to rebuild the wiki.
34 >
35 > (I think I'd have received the same error for *any* edit right now.)
36 >
37 > If you're going to enable completely anonymous editing, I
38 > recommend monitoring the wiki more carefully. It might be useful
39 > to enable the `syslog` option so that wiki errors go to the
40 > system log.
41 >
42 > --[[smcv]]