Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem with New, Cool, Ratings

Quote Reply
Problem with New, Cool, Ratings
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";
Subject Author Views Date
Thread Problem with New, Cool, Ratings WallpaperGuy 3200 Jan 20, 2000, 6:29 AM
Post Re: Problem with New, Cool, Ratings
Eliot 3137 Jan 20, 2000, 7:16 AM
Post Re: Problem with New, Cool, Ratings
WallpaperGuy 3127 Jan 20, 2000, 1:20 PM
Post Re: Problem with New, Cool, Ratings
Eliot 3129 Jan 20, 2000, 2:20 PM
Post Re: Problem with New, Cool, Ratings
WallpaperGuy 3152 Jan 20, 2000, 3:18 PM
Post Re: Problem with New, Cool, Ratings
Eliot 3134 Jan 20, 2000, 5:33 PM
Post Re: Problem with New, Cool, Ratings
WallpaperGuy 3124 Jan 21, 2000, 6:10 AM
Post Re: Problem with New, Cool, Ratings
Eliot 3135 Jan 21, 2000, 8:45 AM
Post Re: Problem with New, Cool, Ratings
Eliot 3131 Jan 29, 2000, 9:41 PM
Post Re: Problem with New, Cool, Ratings
WallpaperGuy 3126 Jan 30, 2000, 5:20 AM
Post Re: Problem with New, Cool, Ratings
WallpaperGuy 3147 Jan 31, 2000, 5:34 AM
Post Re: Problem with New, Cool, Ratings
Eliot 3132 Jan 31, 2000, 10:40 AM