Can anyone tell me what the error message "Premature end of script headers: $Lib /path/to/cgi" means in the httpd error_log file?

This is one of those "Runs on the command line but not in the browser" questions.

Permissions are set to 755 and a bit commenting out and simple testing shows that the script doesn't even get past:

#!/usr/bin/perl -wT
use strict;
use CGI ':standard';
use DBI;

print "Content-Type: text/html\n\n";
print "test"

# Everything in the real script commented out

I'm writing in BBEdit 7, doing convert to ASCII before saving, and saving with file creator set to Generic Text File and Line Breaks set to UNIX and save State set to None.

Other scripts written in the same editor are working OK.

Dave


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to