hellocgi.cgi

#!/usr/local/bin/perl

print "Content-Type: text/html\n\n";
print <<HTML;
<html>
  <head>
    <title>Hello, CGI world!</title>
  </head>
  <body>
    <h1>Hello, CGI world!</h1>
    <p>Welcome to CGI world! This is a test page.</p>
  </body>
</html>
HTML

hellocgi.cgi J