Gossamer Forum
Quote Reply
Im Stuck!
Ok- a newbie to cgi, but I have figured it out pretty quickly I think!! (yay for me!)
Well, I have installed the Links2 on my server and changed all paths to perl, changed all the permissions ect. But when I try to go to admin/admin.cgi the silly thing asks me if I want to open from the location or save to disk?????

well, I may be new at this. BUT I know its not supposed to do that! Any suggestions?

Quote Reply
Re: Im Stuck! In reply to
Does your server enable the file has the tail .cgi or .pl?


Quote Reply
Re: Im Stuck! In reply to
HUH??? :)

.cgi

here's the error message when i open it--
and I have changed the links.cfg to the replacement


Quote Reply
Re: Im Stuck! In reply to
sorry forgot the error...

Error including libraries: Can't locate /cgi-bin/links/admin/db.pl in @INC (@INC contains: /home/carrigan/public_html/cgi-bin/links/admin /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/carrigan/public_html/cgi-bin/links/admin/admin.cgi line 28.

Make sure they exist, permissions are set properly, and paths are set correctly.

Quote Reply
Re: Im Stuck! In reply to
Please set this variable in the file links.cfg
$db_script_path = "/home/carrigan/public_html/cgi-bin/links/admin";

Quote Reply
Re: Im Stuck! In reply to
I did that.

Here's what I have now...

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/carrigan/public_html/links/cgi-bin/admin";
$db_dir_url = "http://www.carriganbay.com/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/carrigan/public_html/pages";
$build_root_url = "http://www.carriganbay.com/pages";

and It still doesnt work. Is this setting right?
I have searched this forum all over and I keep seeing the same error messages, so I just figured from what they all had similarities to mine.

You're sooooo nice to help!

Quote Reply
Re: Im Stuck! In reply to
Do you see my boo-boo!? I do YAY! Its working!!!!! hey, its late, Im new at this,,, and I am soooo tickled! Thanks for pointing out the obvious!!!

THanks!