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

internal server error 500

Quote Reply
internal server error 500
When I try to run the admin.cgi I get a message that says "internal server error 500"

Quote Reply
Re: internal server error 500 In reply to
As stated before in this forum....

1) Check the Perl path in the admin.cgi file.
2) Check to make sure you have the COMPLETE ABSOLUTE PATH to your links.cfg file in the first require line in the admin.cgi file.
3) Make sure that your $db_script_path and $db_lib_path variables are configured correctly in the links.cfg file.
4) Make sure that you have set the permissions of the admin.cgi and all your other .cgi files to 755 (rwxr-xr-x).
5) Make sure that you uploaded ALL the LINKS files in ASCII mode.

Regards,

Eliot Lee
Quote Reply
Re: internal server error 500 In reply to
I followed everything and Im still getting the error.
I dont know what to edit the path of the $db_lib_path to?

are the paths that I am specifying the full path, all of what I can view in th ftp, that full path? Because that is how I have everything pathed.

Thanks

Quote Reply
Re: internal server error 500 In reply to
The full path = the absolute path where your files are located, like the following:

Code:

/machine/section/subset/account/cgi-bin/links/admin


NOT

Code:

/cgi-bin/links/admin


which is the Relative Path.

The $db_lib_path variable should look like the following:

Code:

$db_lib_path = $db_script_path;


Yet...I think your problem is with the $db_script_path configuration, which is causing your script not to work properly.

Regards,

Eliot Lee
Quote Reply
Re: internal server error 500 In reply to
I checked the path to perl and it is /usr/local/bin/perl

The .cgi files show #!/usr/local/bin/perl

I dont know what the #! is for. Do I need to chage this in my .cgi files?

Quote Reply
Re: internal server error 500 In reply to
No...if that is your Perl path and it is correct, then leave it.

Regards,

Eliot Lee
Quote Reply
Re: internal server error 500 In reply to
Thank you very much. I took what you said and modified the file on my local PC, then re-uploaded everything in ASCII, and reset all permissions. It worked!!!!

Thanks

Quote Reply
Re: internal server error 500 In reply to
Good...and you're welcome.

Regards,

Eliot Lee