--Apple-Mail-2--195175693
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset-ASCII;
	format­´wed

hello,
i'm new to ruby, unix, apache, and cgi, so i feel like i'm wrestling a 
four headed dragon, well more like wrestling a three headed dragon and 
patting a friendly goat.
i keep getting:
Premature end of script headers: /Library/WebServer/CGI-
Executables/cgiTrial2.cgi
in my apache error log.
im running os x with Marc Liyanage's distro, freshly installed.
i don't think it's not a permissions problem, the file is chmod 755'd.
my file is called cgiTrial2.cgi and contains:

#!/usr/local/bin ruby             <<  i think this is right?

print "HTTP/1.0 200 OK\r\n"
print "Content-type: text/html\r\n\r\n"
print "<html><body>Hello World!</body></html>\r\n"

this is saved as an asci file w/ unix breaks.
any ideas?
thanks much,
_c

--Apple-Mail-2--195175693
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset-ASCII

hello,

i'm new to ruby, unix, apache, and cgi, so i feel like i'm wrestling a
four headed dragon, well more like wrestling a three headed dragon and
patting a friendly goat.

i keep getting:

Premature end of script headers:
/Library/WebServer/CGI-Executables/cgiTrial2.cgi

in my apache error log.

im running os x with <fontfamily><param>Lucida Grande</param>Marc
Liyanage's distro, freshly installed.

i don't think it's not a permissions problem, the file is chmod 755'd.

my file is called
</fontfamily>cgiTrial2.cgi<fontfamily><param>Lucida Grande</param> and
contains:


#!/usr/local/bin ruby             <<<<  i think this is right? 


print "HTTP/1.0 200 OK\r\n"

print "Content-type: text/html\r\n\r\n"

print "<<html><<body>Hello World!<</body><</html>\r\n"


this is saved as an asci file w/ unix breaks.

any ideas?

thanks much,

_c</fontfamily>
--Apple-Mail-2--195175693--