Gossamer Forum
Quote Reply
Help!
Hi,
I'm installing links for someone, and I am getting a 500 server error with the admin.cgi. This is the error I get when I check out their error log:exec of /www/cgi-bin/dir/admin/admin.cgi failed, reason: No such file or directory (errno = 2)
[Wed Feb 24 16:25:56 1999] access to /www/cgi-bin/dir/admin/admin.cgi failed for 209.173.93.43, reason: Premature end of script headers
What do those mean? Any help is appreciated.
Sincerly,
Michael
http://www.websiteresources.net
Quote Reply
Re: Help! In reply to
Check that the path to perl is correct (the first line is #!/usr/local/bin/perl). Also check permissions are set 755.

Cheers,

Alex
Quote Reply
Re: Help! In reply to
Now, I get this error: Error including libraries: syntax error at /www/cgi-bin/dir/admin/links.cfg line 156, near "my %months = map { $_ => $i++ } qw!Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
(Might be a runaway multi-line DD string starting on line 138)
syntax error at /www/cgi-bin/dir/admin/links.cfg line 175, near "my @months = qw!Jan Feb "
(Might be a runaway multi-line !! string starting on line 152)
syntax error at /www/cgi-bin/dir/admin/links.cfg line 181, near "}"

Make sure they exist, permissions are set properly, and paths are set correctly.

The path to perl is fine. I checked to make sure.
Michael
Quote Reply
Re: Help! In reply to
Check your links.cfg around line 138 and make sure you've quoted everything properly.

Post it on the web and post a URL if you are stuck!

Cheers,

Alex