[root@localhost cgi-bin]# ./hello_world.cgi Content-Type: text/html; charset=ISO-8859-1
Hello, world!
[root@localhost cgi-bin]# go to web site... http://devel.canvas-photos.co.uk/cgi-bin/hello_world.cgi Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@devel.canvas-photos.co.uk and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.52 (Red Hat) Server at devel.canvas-photos.co.uk Port 80 go to error_log.... Apache Error Log [Thu Sep 27 15:55:48 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:55:48 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:55:48 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:55:47 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:55:11 2007] [error] [client 24.245.75.91] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:52:45 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:52:44 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:52:34 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi [Thu Sep 27 15:45:42 2007] [error] [client 81.86.45.98] Premature end of script headers: hello_world.cgi