Jim wrote: > Thanks, fellers. Well, I can't seem to get this to work. Any suggestions? ==== server.rb: ==== #!/usr/local/bin/ruby require 'webrick' include WEBrick s = HTTPServer.new( :Port => 2000, :DocumentRoot => Dir::pwd ) trap("INT"){ s.shutdown } s.start ===== test.cgi: (in same sirectory as server.rb) ==== #!c:/ruby/bin/ruby.exe # print "Content-type: text/html\n\n" puts "Hi" ==== I get Internal Server Error Premature end of script headers: E:/directory/test.cgi WEBrick/1.3.1 (Ruby/1.8.4/2006-04-14) at localhost:2000