From: Wesley Moxam Date: 2002-11-09T04:11:54+09:00 Subject: Re: Basic CGI question ----- Original Message ----- From: "Mark Probert" To: "ruby-talk ML" Sent: Friday, November 08, 2002 12:02 PM Subject: Basic CGI question > > Hi, Rubyists. > > I'm just starting to play with cgi and forms. I have a simple script > which runs okay, except that the page changes to 500: Internal Server > Error, with the error message "Premature end of script headers" on > the script. > > Search, this seems to be a permissioning problem. Permissions are 755. > Ideas? Are you printing an http header? eg: puts "Content-type: text/html\n\n" or, using the cgi object cgi.out { "this is some html text" } -- Wes