コメントスパム用チェックボックス

以前導入したハズなんですが, 作業ログが無い….
検索してみたら, リンクしか張ってないのな.

そんな訳で.

rescue TDiary::ForceRedirect
        head = {
                #'Location' => $!.path
                'type' => 'text/html',
                }
        print @cgi.header(head)
        print %Q[
                <html>
                <head>
                <meta http-equiv="refresh" content="1Url=#{$!.path}">
                <title>moving...</title>
                </head>
                <body>Wait or <a href="#{$!.path}">Click here!</a></body>
               </html>]

なんて付けておく.

  • spamwarn.html を用意して, diary を設置してあるディレクトリにでも置いておく.

で良し.