Hi, thanks for your suggestions.
I believe there is some other cgi-bin
problem other than the missiing headers, or
as you put it, "dying before the headers are emitted."

Here is the original test script:

#!/usr/bin/perl

print "Content-type: text/plain\n\n";
print "Hello, World!\n";

Which works fine in the main cgi-bin directory. So
what has me stumped is why this failing in the user
cgi-bin directory.

I will do some more reading and figure it out, thanks.




>>> [EMAIL PROTECTED] 10/20/01 07:51AM >>>
[ Please press ENTER every 70 chars or so. Thansk. ]


This is indicative of your httpd.conf config being ok, because it means
the CGIs are being run. "premature end of header" means the CGI script
has not emitted the required MIME headers to indicate what kind of data
it is generating. CGIs may emit anything, not just HTML. So the naive:
[snipped]

All CGIs must produce that header and the blank line delimiting the
header from the data as a minimum.

The error you are seeing means either that your CGI is not doing
or, or that it is failing in some way, dying before the headers get
emitted. Have a look at the error_log file for your server and see if
there's anything useful there - CGI error messages end up there unless
you take special steps.





_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to