Gossamer Forum
Home : Products : Links 2.0 : Discussions :

add.cgi error

Quote Reply
add.cgi error
Hi. I have no problem executing add.cgi, but when I press the add button I get an internal server error.

I have tried to figure it out, but no luck...
Anyone? All help is appreciated.

Thanks, KL
Quote Reply
Re: add.cgi error In reply to
The daily question regarding scripts the dreaded and uninformative 500 error. Ensure:

1. You uploaded the script in ASCII and NOT binary.

2. You set file permissions (chmod) of the script to 0755 (rwxr_xr_x).

3. The path to Perl on the first line is correct. If unsure, ask your web host. The usual paths are:

#!/usr/bin/perl
#!/usr/local/bin/perl

Cheers... Dan Smile