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

Why Add.cgi don't start

Quote Reply
Why Add.cgi don't start
I have install links 2.0
If I go to the admin.cgi it's all ok .

If i go to the /pages/index.html , and I clic Add site I get error :

"" Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, jokers-@libero.it and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.14 Ben-SSL/1.41 Server at www.biellacitta.com Port 80 ""

The chmod is ok .

Have you an idea ??

Quote Reply
Re: Why Add.cgi don't start In reply to
1) Make sure all your .cgi scripts in the cgi-bin/links/ are set to 755.

2) Make sure that use the FULL PATH to your links.cfg file in the following line in your cgi scripts in the cgi-bin/links/ folder:

Code:

require "admin/links.cfg";


Use:

Code:

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


3) Make sure that you have properly set all the *path and *url variables in the links.cfg file.

4) Check your Server Error Logs.

5) To check the synatx of your add.cgi script or any other .cgi script for that matter...use the following command via telnet/ssh:

Code:

perl -c add.cgi


To ensure that your scripts run appropriately, you might want to add the -w switch at the end of the first line of your scripts...like the following example:

Code:

#!/usr/local/bin/perl -w


Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: Why Add.cgi don't start In reply to
Perfect !!!

I have add -w in :
/usr/bin/perl -w

All it's ok .

What's -w ??

Thank you very much



Quote Reply
Re: [Stealth] Why Add.cgi don't start In reply to
Adding the -w to my perl path worked, but my question is, why did my jump.cgi work yesterday, but not today, but now works fine after adding the -w?
-darlisa

http://www.fignations.com