monkfan has asked for the wisdom of the Perl Monks concerning the following question:
Fellow monks,
I have a very simple cgi script like this:
What was wrong with my setting above? Was there any special structure required for CGI?
As a SU I've also activated my Apache's
Regards,
Edward
I have a very simple cgi script like this:
which I stored in:#!/usr/bin/perl print "Content-type: text/html\n\n"; print "Hello World !! It works.\n";
However I was unable to see it working from this website:/usr/local/apache/htdocs/Test/cgi-bin
However, my index.html can be accessed without problem here.http://bioinfo-z.comp.nus.edu.sg/Test/cgi-bin/hello.cgi
What was wrong with my setting above? Was there any special structure required for CGI?
As a SU I've also activated my Apache's
svcadm enable www:apache22
Regards,
Edward
Back to
Seekers of Perl Wisdom