#!/usr/bin/rubyputs "Content-type: text/html\n\n"puts "This is a test"If you called this script test.cgi then visiting http://www.example.com/test.cgi