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

A new internal server error 500

Quote Reply
A new internal server error 500
Hi

Im trying to install Links2 and get the internal server error when running admin.cgi. I know I have placed the files properly and altered links.cfg accordingly (I have tested this).

What is wrong then:

1) I have set all permissions so everybody can do everything (just so its not therefore)?

2) Upload has been done in ASCII but how do I know this is ok?

I can't get any further on Telnet because it just tells me "You cant run this script from telnet/shell."

All ideas are welcome.

KR

Scheels

Quote Reply
Re: A new internal server error 500 In reply to
Test the syntax of the script by using perl -c admin.cgi in the directory where admin.cgi is located.

Probably related to a wrong Perl PATH or not using the complete ABSOLUTE path to links.cfg (as discussed quite a few times in this forum).

The first require line in the admin.cgi should look like the following:

Code:

require "/absolute/path/to/cgi-bin/links/admin/links.cfg";


Regards,

Eliot Lee
Quote Reply
Re: A new internal server error 500 In reply to
Thanks for the tip Eliot. I have now compiled all cgi and pl scripts via telnet and they come with syntax ok. This means my paths are correct and perl can be found by the programmes and also the upload was i ASCII doesnt it?
I still have the samme 500 error when running the admin.cgi. What do i do next?

kr

scheels