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

Downloading admin.cgi - Permission Problem?

Quote Reply
Downloading admin.cgi - Permission Problem?
I just finished installing and setting up the links script v2.0 (freebie) and when I try to access the admin.cgi from my browser it tries to download the script itself instead of accessing it. I currently have the cgi scripts in cgi-bin/links so as far as I know my server should execute it.

-roast

Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
Yep. Please read the Readme for Links 2 which shows you generally how to set up the files and CHMOD them. I generally use the following rule;

All folder CHMOD 777
All Files in /data/ folder to 666
All .cgi files in admin folder and cgi-bin folder to 755
All other files to 666.

Now i know this isn't perfect from some people's point of view, but it works for me!!! It could also be a problem of the links.cfg file not being completed correctly. Be sure to set the PATHS correctly to the data files, the pages etc or it definatly won't work!!!

Hope this helps

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
DOWNLOAD the script when it asks you. Open it up, and READ what it says. In most cases it will TELL you the error.

Happy Coding,

--Drew
http://www.FindingHim.com
Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
well that is how I have arrived at this problem, I did everything that it said to in the readme and it still won't work.

Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
Please read Junko's post once again. Try to help the people who would like to help you. Wink

Thomas
http://www.japanreference.com
Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
Make sure your paths are correct in both the cgi scripts and links.cfg....that should fix it.

The error is likely to be "Can't locate db.pl".....if so do what I said, if you have no luck, search the forum for "locate db.pl"

Paul Wilson.
new - http://www.wiredon.net
Quote Reply
Re: Downloading admin.cgi - Permission Problem? In reply to
ahh.. I have found my error. for the lines:

$build_new_path = "$build_root_path/New";

I have used:

$build_new_path = "home/public_html/links..";

That should do it, unless I have something else not setup quite right. Thank you for the help.