slamet has asked for the wisdom of the Perl Monks concerning the following question:
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI on OpenBSD 5.6 httpd
by poj (Abbot) on Dec 21, 2014 at 11:45 UTC | |
Re: CGI on OpenBSD 5.6 httpd
by Corion (Patriarch) on Dec 21, 2014 at 11:24 UTC | |
Re: CGI on OpenBSD 5.6 httpd
by Anonymous Monk on Dec 21, 2014 at 11:52 UTC | |
Re: CGI on OpenBSD 5.6 httpd
by slamet (Initiate) on Jan 03, 2015 at 01:14 UTC | |
by Anonymous Monk on Jan 03, 2015 at 04:32 UTC | |
by slamet (Initiate) on Jan 18, 2015 at 10:33 UTC |