slamet has asked for the wisdom of the Perl Monks concerning the following question:
I cannot find any documentation on how to get CGI going on OpenBSD 5.6 httpd. (Starting with 5.6, OpenBSD ships its own http daemon.) And I am a newbie with CGI.
I have something like the following: hello
I have done "chmod 755 hello", but when I call the address!#/usr/bin/perl print "Content type: text/html"; print "hello world";
I got the whole file content, instead of just "hello world". I have poured over manpages for httpd and httpd.conf, but still cannot fix this. Many thanks for your help.curl localhost/hello
Back to
Seekers of Perl Wisdom