I'll work on deciphering the CVS system. Downloading the binaries works fine... mod_perl executes and serves. This tells me that something is missing in the compiling procedure, so I'll restart the process by getting the latest of everything and compiling again.
I sure appreciate your note. Derrick Stone Internet Specialist Web Development Center UVa Health System ICQ# 1464194 -----Original Message----- From: Randy Kobes [mailto:randy@;theoryx5.uwinnipeg.ca] Sent: Tuesday, October 29, 2002 1:35 PM To: Stone, Derrick J Cc: [EMAIL PROTECTED] Subject: Re: mod_perl hangs on apache 2.0.43 (w32) On Tue, 29 Oct 2002, Stone, Derrick J wrote: > 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. By failures, do you mean failures to use the mod_perl-2.ppd package? This one was compiled using perl-5.6.1, which in general is binary incompatable with 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> Apache::Registry is for mod_perl-1 - the corresponding handler for mod_perl-2 is ModPerl::Registry. > > 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! I've had problems too with different builds of mod_perl-2 at various times with perl-5.6.1, such as things hanging - this I think this is related to certain threading issues in 5.6.1 that are addressed in 5.8. Since you have a compiler, I'd suggest compiling mod_perl-2 with perl-5.8, which seems to resolve these hanging issues. If you have problems with the mod_perl-1.99_xx sources on CPAN, try the mod_perl-2 sources from CVS - as of a few days ago, this builds and tests fine on Win32 under perl-5.8. Although compiling things yourself is preferable, if you're forced to use a binary, there's a perl-5.8/Apache-2/mod_perl-2 Win32 binary, perl-5.8-win32-bin.tar.gz, under ftp://theoryx5.uwinnipeg.ca/pub/other/ which unpacks into Apache2/ and Perl/ subdirectories - installation instructions are summarized in the accompanying top-level install.txt file. mod_ssl is included in this package. -- best regards, randy kobes