(cgi_test)% cat test.cgi #!/WWW/bin/perl -wT $|=1; print "Content-type: text/html\n\n"; print "hello\n"; #### in http.log: whars0ck.europe.nortel.com - 0502164 [18/May/2004:10:04:28 +0100] "GET /~callum/cgi_test/test.cgi HTTP/1.1" 500 403 in http-error.log: [Tue May 18 10:04:28 2004] [error] [client 47.165.6.42] Premature end of script headers: /u/callum/public_html/cgi_test/test.cgi #### ErrorDocument 403 /admin/error/403.cgi #### (logs)% /u/callum/public_html/cgi_test/test.cgi Content-type: text/html hello (logs)% #### AddHandler cgi-script .cgi .sh