Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

New Configuration Problems?????

Quote Reply
New Configuration Problems?????
Can anyone help? This isn't my first script but I'm not able to get it going.

I've checked my links.cfg file. My site URL (which works fine with
other perl cgi scripts) is http://server4.hypermart.net/mr-k/.

I transfered the directory as it was unzipped, LINKS being my
directory for this program.
http://server4.hypermart.net/mr-k/links/...

What am I doing wrong? How should I be configuring the base setup
in the LINKS.CFG file? The following is how I have LINKS.CFG
configured. Please help???

# PATH of Admin Script directory. No Trailing Slash. *
$db_script_path = "/admin";
# URL of Admin Script directory. No Trailing Slash. *
$db_dir_url = "http://server4.hypermart.net/mr-k/links/admin";
# URL of Admin Script.
$db_script_url = $db_dir_url . "/admin.cgi";

# PATH of Pages to be built. No Trailing Slash. *
$build_root_path = "/links";
# URL of Pages to be built. No Trailing Slash. *
$build_root_url = "http://server4.hypermart.net/mr-k/links";
# PATH of What's New page. No Trailing Slash.
$build_new_path = $build_root_path . "/New";
# PATH of What's Cool page. No Trailing Slash.
$build_cool_path = $build_root_path . "/Cool";
# PATH of the header and footer directories. No Trailing Slash.
$db_header_path = $db_script_path . "/header";
$db_footer_path = $db_script_path . "/footer";

# URL of What's New Page
$build_new_url = $build_root_url . "/New";
# URL of What's Cool Page
$build_cool_url = $build_root_url . "/Cool";
# URL of Search Script
$build_search_url = $build_root_url . "/search.cgi";
# URL of Add Script
$build_add_url = $build_root_url . "/add.cgi";
# URL of Modify Script
$build_modify_url = $build_root_url . "/modify.cgi";
# URL of Jump Script
$build_jump_url = $build_root_url . "/jump.cgi";

# PATH of Library Directory. No Trailing Slash.
$db_lib_path = $db_script_path;
# PATH of the database backup directory. No Trailing Slash.
$db_backup_path = "$db_script_path/backup";
# PATH of the links database file.
$db_links_name = "$db_script_path/data/links.db";
# PATH of the category database file.
$db_category_name = "$db_script_path/data/categories.db";
# PATH of the validation file.
$db_valid_name = "$db_script_path/data/validate.db";
# PATH of the modification database:
$db_modified_name = "$db_script_path/data/modified.db";
# PATH of the URL index";
$db_url_name = "$db_script_path/data/url.db";
# PATH of the links database counter file.
$db_links_id_file_name = "$db_script_path/data/linksid.txt";
# PATH of the category database counter file.
$db_category_id_file_name =
"$db_script_path/data/categoryid.txt";
# PATH of the verify links log.
$db_verify_path = "$db_script_path/data/verify.log";
# PATH of sendmail.
$db_mail_path = "/usr/lib/sendmail -t";