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

Total Newbie HELP

Quote Reply
Total Newbie HELP
OK I need help, i tried setting it up and thought i had everythign working properly but no luck.

What could be wrong, HERE IS MY LINK.CGI file



PATH and URL of Admin CGI directory. No Trailing Slash.

$db_script_path = "/home/casinowi/www/www/cgi-bin/links/admin";

$db_dir_url = "http://www.casino-windows.com/cgi-bin/links/admin";



# URL of User CGI directory. No Trailing Slash.

$db_cgi_url = "http://www.casino-windows.com/cgi-bin/links";

# PATH and URL of Pages to be built. No Trailing Slash.

$build_root_path = "/home/casinowi/www/www/cgi-bin/links";

$build_root_url = "http://www.casino-windows.com/links";



# 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";

# Database Options

# --------------------------------------------------------

# You really need to use flock(). However if your system doesn't support it (Win95),

# then turn this off at your own risk!

$db_use_flock = 1;

# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)

$db_nocache = 0;

# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)

$db_iis = 0;

# Field number of category in category.db

$db_main_category = 1;

# Referers -- which hosts are allowed to add to your database.

@db_referers = ();

# Email Options

# --------------------------------------------------------

# NOTE: Be sure to edit the text of the message. It can be found

# in the templates directory: email-add.txt, email-del.txt and

# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a

# mail program like sendmail, or $db_smtp_server which will use

# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server

$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '';



# Email address of the administrator. BE SURE TO SET!

$db_admin_email = 'admin@casino-windows.com';



# Notify visitors automatically when their links are validated?

$db_email_add = 1;

# Notify visitors automatically when their links are modified?

$db_email_modify = 0;



# Log all outgoing messages? Put the full path to a logfile and make sure it

# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty

# big!

$db_mailer_log = '';


Quote Reply
Re: [aman_is] Total Newbie HELP In reply to
$build_root_path and $build_root_url contradict each other. Try changing

$build_root_path = "/home/casinowi/www/www/cgi-bin/links";

to

$build_root_path = "/home/casinowi/www/www/links";

if you intend your pages to be built in a directory called "links" that is - most people put them inside a directory called "pages".

You shouldn't build them inside the CGI-BIN in any case.

Also check that there really are supposed to be two www's in your paths as it looks a little odd to me.
Quote Reply
Re: [wysardry] Total Newbie HELP In reply to
Thanks for the help.

I tried doing what you suggested but I got the same error message.

Not sure what I am doing wrong.
Quote Reply
Re: [aman_is] Total Newbie HELP In reply to
Well, as far as I can tell without knowing what the paths are supposed to be, or what type of server you're trying to use, the configuration should be okay with that change.

What error message are you getting?

Did you make sure the path to Perl was correct and set all the permissions as per the readme file?
Quote Reply
Re: [wysardry] Total Newbie HELP In reply to
Using Windows NT so i don't think the permissions apply but i set them anyway, getting a 500 internal server error



Any ideas
Quote Reply
Re: [aman_is] Total Newbie HELP In reply to
Permissions and ASCII mode shouldn't be a problem then. A 500 error usually indicates that the script is not running at all, with the most likely cause being an incorrect path to Perl.

Have you managed to get any other scripts to run? It might be worthwhile installing Perldiver from http://www.scriptsolutions.com/...rams/free/perldiver/ to find out info about paths and which modules are installed.