"Gaurav Agarwal" <[EMAIL PROTECTED]> writes:

> Hi,
> I had trouble setting up httpd properly on my Linux Red Hat 6 system
> Actually, everything is okay, except that i am unable to run my cgi scripts.
> On running the scripts i get the 500 server error.
> and in the logs " Premature end of script headers."

Try having your script start with a part that spits out:

        "Content-type: text/html\n\n"

That should probably fix it.

-- 
Giorgos Keramidas, <[EMAIL PROTECTED]>
"What we have to learn to do, we learn by doing." [Aristotle]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to