note
jhourcle
<p>Sending any output to STDOUT without sending valid headers will cause an 'Internal Server Error'.</p>
<p>If you want to try to gain access to what's going wrong, try making sure the first thing you do is:</p>
<code>BEGIN { print "Content-type: text/html\n\n"; }</code>
<p>But definately check the websever logs. And knowing the platform is useful, too.</p><p>Personally, I'm lazy, and like using [http://cgiwrap.unixtools.org|CGIwrap] for debugging my CGIs.</p>
444632
444635