View Single Post
  #6  
Old 05-02-2006, 08:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I am not exactly sure what is the problem, maybe support for your ruby script is poor. You can try the following hello.rb, if it works, please send us your testing script, we will figure out the problem.

Code:
#!/usr/local/bin/ruby

print "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\nHello World!\r\n"
ENV.each_pair {|key, value| print "#{key} is #{value}
\r\n" }
Reply With Quote