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

CGI's don't run & other weird stuff

Quote Reply
CGI's don't run & other weird stuff
With Bobsie's help, I was finally able to get my index page to work (http://www.banthatracks.com/links/index.html), but none of the CGI scripts process - 500 Internal Server Errors all around... add.cgi, modify.cgi, jump.cgi - and of course, search.cgi

I have my permissions set to 755 for my *.cgi files - but can't seem to figure out what's going on.

I am able to access my admin.cgi (it's in a different directory at http://www.banthatracks.com/cgi-bin/links/admin/admin.cgi) - from there, I have been able to add, modify & delete links & categories.

Should I be able to see a database of the links somewhere? Will this database include all the text, etc...? Thanks
Quote Reply
Re: CGI's don't run & other weird stuff In reply to
   
Code:
# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://yourdomain.com/usercgidir";

Since these files are in a different directory, you may need to change the require statement for links.cfg in add.cgi, search.cgi, etc. to the full path:

Instead of:
Code:
require "admin/links.cfg"; # Change this to full path to links.cfg if you have problems.

Try (adjust path to correctly match your directory setup):
Code:
require "/www/banthatrack/cgi-bin/links/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.


Finally, verify that your user cgi directory is also chmod 755 (not just the scripts.

[This message has been edited by Brad Richardson (edited April 10, 1999).]

[This message has been edited by Brad Richardson (edited April 10, 1999).]