In addition to the info provided in the previous replies, note that you may have to use some address of the form
http://localhost/cgi-bin/hello.cgi
if you are trying to run the script on your own machine where
the server is installed (that seems to be pretty standard for
the loop back address; you should be able to use 127.0.0.1
also.)
chas