jwillia
New Member
- Messages
- 7
- Reaction score
- 0
- Points
- 0
Hi All,
I am just starting out in web development, and have a question (one of many).
Should the following cgi script work if I save it as test.cgi in the cgi-bin directory and access it with:
http://mysite.pcriot.com/chi-bin/test.cgi
#!/usr/bin/ruby
print "HTTP/1.0 200 OK\r\n"
print "Content-type: text/html\n\n"
print "<html><body>Hello World!</body></html>\r\n"
Thanks in advance
I am just starting out in web development, and have a question (one of many).
Should the following cgi script work if I save it as test.cgi in the cgi-bin directory and access it with:
http://mysite.pcriot.com/chi-bin/test.cgi
#!/usr/bin/ruby
print "HTTP/1.0 200 OK\r\n"
print "Content-type: text/html\n\n"
print "<html><body>Hello World!</body></html>\r\n"
Thanks in advance