A CGI program - 2 Test the CGI program: > echo foo | hwcgi | cat Content-type: text/plain hello world Copy CGI program to cgi-bin directory: > cp hwcgi /APACHE/PUB/cgi-bin Point browser at: http://systemname/cgi-bin/hwcgi
> echo foo | hwcgi | cat Content-type: text/plain hello world
> cp hwcgi /APACHE/PUB/cgi-bin
http://systemname/cgi-bin/hwcgi