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

admin.cgi error

Quote Reply
admin.cgi error
I have everything working, but I can't add a site with the admin.cgi. I always come up with the error below:

Premature end of script headers: /usr6/home/madirect/public_html/cgi-bin/links/admin/admin.cgi

not really sure why.
Quote Reply
Re: admin.cgi error In reply to
I had the same problem. I found the answer in the forum in another place.

1: Open your admin/db_utils.pl
2: Look for this line: print "HTTP/1.0 200 OK\n"
3: Comment out the whole line by putting # in front of the line and do the same to the following line print "Pragma: no-cache\n" if ($db_nocache);


quote:
--------------------------------------------------------------------------------
Apache apparently doesn't like a cgi creating its own status response. Either set $db_iis and $nph to 0 or comment out that line (in db_utils.pl).
--------------------------------------------------------------------------------