I noticed a similar thread from earlier this month, and I was hoping that someone has
encountered and uncovered the problem.
Wishful thinking, right?
I have compiled Apache 2.0.43 from the source using the default options and adding the
openssl module.
I have tried both perl 5.6.1 and perl 5.8. Perl 5.6 allows me to compile the module
that I downloaded from theoryx5.uwinnipeg.ca/ppmpackages/mod_perl-2.ppd while I get
failures to compile mod_perl when using perl 5.8.
So, for the time being, I have downgraded to perl 5.6. Configuring make file.pl,
running nmake and nmake install appear to run like a peach. However, I am unable to
execute any mod_perl scripts.
Following the lead of the documentation, I have added the LoadModule line, then tried
both adding a location directive and when that failed, a files directive such as this
one:
<files *.plx>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
</files>
After executing a regular perl script in cgi-bin, I can rename the file to .plx, and
it the browser will just hang. The script I am using reads as follows:
#! /perl/bin/perl
## printenv -- demo CGI program which just prints its environment
##
use strict;
print "Content-type: text/html\n\n";
print "<HTML><BODY><H3>Environment variables</H3><UL>";
foreach (sort keys %ENV) {
my $val = $ENV{$_};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "<LI>$_ = \"${val}\"</LI>\n";
}
#sleep(10);
print "</UL></BODY></HTML>";
Suggestions, please!
Derrick Stone
Internet Specialist
UVa Health System