I have my own server. It has a scgi-bin and a cgi-bin. I have a regular irc bot that I know the script (works) when I used it on another server, but is not running right on mine.
I have been trouble shooting this for a while now and can't fix my problem, I am new to this.
I came across a cgi trouble shooting page and this IS the error message that I am getting, but I don't know how to print out the html to even look for what I am supposed to be seeing that they talk about to correct it, AND how to proerly correct it.
Here's the message and can anyone help?
You get the message "Server Error" when you try to run your cgi program.
Solution: The "Server Error" message almost always means there is a problem with your script.(I know the script is fine) If you have checked all of the above, and you are still getting this error, it may be that the VERY first thing your script is printing is not "Content-type: text/htmlnn" or in other words, "Content-type: text/html" and 2 carriage returns. In order for the server and a web browser to work together to display the results of your script, the script must tell the browser what sort of information it is receiving. If your script will print out an HTML message, make sure that it prints the "Content-type" message before anything else.
*I think this IS my problem, can anyone help?*
<font size=-1>[ This Message was edited by: Sky on 2002-05-11 22:33 ]</font>