just open cplinks.html and edit the base ref. make sure you edit the right line, cause there is an example in there, and below that is the actual base ref. and then just put your path in, like...
http://www.yourhost.com/cgi-bin/ubb/

that's it <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> hope that helps