Try something REALLY simple like this.

your browser should be calling http://localhost/cgi-bin/program.pl

create /var/www/cgi-bin/program.pl as follows:

#! /usr/bin/perl

use strict;

print "Content-type: text/html\n\n";
print "<HTML>\n";
print "<BODY>\n";
print "Hello World\n";
print "</BODY>\n";
print "</HTML>\n";

If this wont work, try looking in your logs in
/var/log/httpd/error_log
There should be something in there.

Good Luck
Dennis

Reply via email to