http://www.perlmonks.org?node_id=608670

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:
#!/usr/bin/perl print "Content-type: text/html\n\n"; print "Hello World !! It works.\n";
which I stored in:
/usr/local/apache/htdocs/Test/cgi-bin
However I was unable to see it working from this website:
http://bioinfo-z.comp.nus.edu.sg/Test/cgi-bin/hello.cgi
However, my index.html can be accessed without problem here.

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