perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harrison, George (STEM)" <George.Harri...@gov.mb.ca>
Subject Mod_perl 2 on Windows
Date Mon, 11 May 2009 18:34:40 GMT
Can anyone tell me why when I try to run the extra.pl file from the
windows configuration page
http://perl.apache.org/docs/2.0/os/win32/config.html#Registry_scripts I
get the following error:

[Mon May 11 12:52:31 2009] [notice] Child 3608: Exit event signaled.
Child process is ending. 
[Mon May 11 12:52:32 2009] [error] Can't load
'C:/Perl/site/lib/auto/Apache2/Filter/Filter.dll'
    for module Apache2::Filter: 
    load_file:The specified procedure could not be found at
C:/Perl/lib/XSLoader.pm line 64. 
    at C:/Perl/site/lib/Apache2/XSLoader.pm line 31
    Compilation failed in require at C:/Perl/site/lib/Apache2/compat.pm
line 48.
    BEGIN failed--compilation aborted at
C:/Perl/site/lib/Apache2/compat.pm line 48.
    Compilation failed in require at C:/Apache22/conf/extra.pl line 12.
    BEGIN failed--compilation aborted at C:/Apache22/conf/extra.pl line
12.  
    Compilation failed in require at (eval 3) line 1.
[Mon May 11 12:52:32 2009] [error] Can't load Perl file: 
    C:/Apache22/conf/extra.pl for server localhost:0, exiting... 

extra.pl looks like this:

use ModPerl::Util ();
use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::RequestUtil ();
use Apache2::ServerRec ();
use Apache2::ServerUtil ();
use Apache2::Connection ();
use Apache2::Log ();
use Apache2::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache2::compat ();
use ModPerl::Registry ();
use CGI ();
1;

It's called from here:

PerlRequire "C:/Apache22/conf/extra.pl"

Alias /perl/ "/www/htdocs/perl/"
<Location /perl> 
 SetHandler perl-script
 PerlResponseHandler ModPerl::Registry
 Options +ExecCGI
 PerlOptions +ParseHeaders
</Location>


Thanks

gh

Mime
View raw message