- or download this
(cgi_test)% cat test.cgi
#!/WWW/bin/perl -wT
$|=1;
print "Content-type: text/html\n\n";
print "hello\n";
- or download this
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
- or download this
ErrorDocument 403 /admin/error/403.cgi
- or download this
(logs)% /u/callum/public_html/cgi_test/test.cgi
Content-type: text/html
hello
(logs)%
- or download this
AddHandler cgi-script .cgi .sh