monkfan has asked for the wisdom of the Perl Monks concerning the following question:
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
svcadm enable www:apache22
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Enabling CGI Script from Apache's htdocs directory
by ww (Archbishop) on Apr 06, 2007 at 15:05 UTC | |
|
Re: Enabling CGI Script from Apache's htdocs directory
by derby (Abbot) on Apr 06, 2007 at 13:49 UTC | |
by monkfan (Curate) on Apr 06, 2007 at 14:08 UTC | |
by derby (Abbot) on Apr 06, 2007 at 14:24 UTC | |
by shmem (Chancellor) on Apr 06, 2007 at 14:39 UTC | |
|
Re: Enabling CGI Script from Apache's htdocs directory
by MonkE (Hermit) on Apr 06, 2007 at 14:13 UTC | |
|
Re: Enabling CGI Script from Apache's htdocs directory
by gloryhack (Deacon) on Apr 06, 2007 at 14:10 UTC |