in reply to How to configure Apache for running perl scripts.
You also need to print out valid HTTP headers before you can print any web content. Something your tiny script does not do.
or even better:print "Content-type: text/html\n\n";
use strict; use CGI; my $q = CGI->new(); print $q->header("text/html");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to configure Apache for running perl scripts.
by munu (Novice) on Aug 06, 2004 at 14:24 UTC | |
by gellyfish (Monsignor) on Aug 06, 2004 at 14:29 UTC |