When I try to run the admin.cgi I get a message that says "internal server error 500"
Jun 13, 2000, 8:38 PM
Veteran (17240 posts)
Jun 13, 2000, 8:38 PM
Post #2 of 8
Views: 2049
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
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
Jun 13, 2000, 9:39 PM
Veteran (17240 posts)
Jun 13, 2000, 9:39 PM
Post #4 of 8
Views: 2043
The full path = the absolute path where your files are located, like the following:
/machine/section/subset/account/cgi-bin/links/admin
NOT
/cgi-bin/links/admin
which is the Relative Path.
The $db_lib_path variable should look like the following:
$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
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