Well, the script goes to what you tell it to go to...
The script_link is made from:
$db_script_url = "$baseurl$cgi_url";
Which, in your case, should result in your script_link being:
http://xku/~rik/cgi-bin/oj.cgi
There's nothing in the code that would suggest that this isn't what you should be seeing. You're telling me that instead of going to the above URL, OJ is going to:
http://xku/cgi-bin/oj.cgi
I did find a place where the link is incorrect. In
oj.cfg, find the
sub error routine and replace:
$cgi_url
with
$db_script_url
There are also two occurrences of this problem in
oj.cgi. Look for $cgi_url in this file and replace with the above (one is in
print_auth and the other is in the
pring_new_auth subroutines).
This should fix the problem and has been corrected in the downloadable version.
John