Are there any errors being reported by ultimatebb.php, or are you seeing n=??? in the URL?

The first time you visit a topic, it will kick you to ultbb.cgi because it needs to cache the page.