Gossamer Forum
Quote Reply
rate it
I installed links 2, everything works except "rate it"
The URL to "rate it" is:
http://mydomain/cgi-bin/links/links/rate.cgi?ID=number
There should only be one /links/ in the URL
I would like to know how to get rid of one of the "links"
in the URL.
My links.cfg is:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/come/come-come-www/cgi-bin/links/admin";
$db_dir_url = "http://come-come.com/cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://come-come.com/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/come/come-come-www/links";
$build_root_url = "http://come-come.com/links";

# PATH and URL of Default Index Page to be built. No Trailing Slash.
$build_default_path = "/home/come/come-come-www/Romance";
$build_default_url = "http://come-come.com/Romance/index.shtml";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

URL to website is:http://come-come.com/Romance/index.shtml

Respectfully
Henri

Quote Reply
Re: rate it In reply to
You are most likely using the incorrect tags in your link.html file.

You should be using:

Code:

<a href="<%db_cgi_url%>/rate.cgi?ID=<%ID%>">Rate It</a>


And make sure that you have the rate.cgi script in your cgi-bin not cgi-bin/links/ since you have set the $db_cgi_url variable to your cgi-bin NOT cgi-bin/links/.

Regards,

Eliot Lee