On Sat, 21 Sep 2002 15:36:51 -0700, [EMAIL PROTECTED] (Ramon Hildreth)
wrote:

>Hi, my cgi compiles on the command line, but I get an internal server error
>when
>I try to access in the browser

>
>print<<EOF;
>Content-type: text/html
Content-type: text/html\n\n
><html>
><body>
><form method=post action="http://www.ramonred.net/cgi-bin/text.cgi";>
><textarea rows=40 colos=67 name="box">$content</textarea>
></body>
></html>
>EOF
># end of text.cgi
>
>I have made sure the permissions are set correctly.
>Any ideas what could be wrong?
>

Oops!  Sorry to overlook it. Ron Brown pointed it out to me
in an email. I forgot the 2 newlines.

should be:
Content-type: text/html\n\n


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

Reply via email to