I've been searching around here trying to find a solution, but no luck. I think the problem is a set-up problem because I have two domains on one account, i.e, 2nd domain using script is in a subdirectory of 1st domain, using cgi-bin in 1st domain. Everything seems to be working fine except New, Cool, and Ratings links. For example, even though the link shows in the status bar to be going to domain2/New, when clicked, it actually goes to domain1/New. If I physically add the trailing slash in the URL, it works fine, going to domain2 as expected. But for some reason, I can't get the script to add the trailing slash correctly to domain2 URL. I've tried both including and not including the trailing slash (as instructed) in links.cfg file and both give the same (wrong) results. Any ideas? here's how it's setup:
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/dom1/cgi-bin/links/admin";
$db_dir_url = "http://dom1.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://dom1.com/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/dom1/dom2";
$build_root_url = "http://dom2.com";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/dom1/dom2/New";
$build_new_url = "http://dom2.com/New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/dom1/dom2/Cool";
$build_cool_url = "http://dom2.com/Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/dom1/dom2/Ratings";
$build_ratings_url = "http://dom2.com/Ratings";
# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/dom1/cgi-bin/links/admin";
$db_dir_url = "http://dom1.com/cgi-bin/links/admin";
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://dom1.com/cgi-bin/links";
# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/dom1/dom2";
$build_root_url = "http://dom2.com";
# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/dom1/dom2/New";
$build_new_url = "http://dom2.com/New";
# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/dom1/dom2/Cool";
$build_cool_url = "http://dom2.com/Cool";
# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/dom1/dom2/Ratings";
$build_ratings_url = "http://dom2.com/Ratings";