I hope this is a "simple question." (sorry if it's not)
Well, my host doesn't allow running cgi out of cgi-bin, so I installed kareha there. Once I did that, it seemed I still had a problem. All the links formed as something along the lines of:
/cgi-bin/MYSITE/kareha.pl
What I eventually did to "fix" it is replace SCRIPT_NAME with SCRIPT_URL throughout the pl files.
Now everything seems to be working, except for in the full thread view: http://rabi.memebot.com/cgi-bin/a/kareha.pl/1171530470/l50
the "return" link is like this:
~/kareha.pl/1171530470/index.html
and the other links (entire thread, last 50 posts) add on after the thread number as well.