I need some help with browser output in ruby cgi - cgi.rb

P

Professor Chen

Whenever I try to send out some output in CGI my scripts generates an
error 500 with
-
Error message:
malformed header from script. Bad header=.: dblist.cgi
-

I am not really sure how to output text with the cgi.pre,
CGI::escapeHTML functions etc. Is there some guide to doing those
things right?

PS. Is there some way I can the cgi to send the actual ruby error
messages as part of the error 500 output?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top