I couldn't say without knowing more of what you did and what happens. Did you set them up correctly in config.pl?
Well, you can configure what kind of format Kareha writes the bans in to some extent. But I know nothing of lighttpd, so you'll have to figure out for yourself what to configure it to.