mos_perl2 on Windows

[prev] [thread] [next] [Date index for 2005/05/23]

From: Robert
Subject: mos_perl2 on Windows
Date: 15:53 on 23 May 2005
I just installed it via PPM (for ActiveStates 5.8.6.811). I had my site 
working under Apache1/CGI without problem.

I upgraded to Apache2/mod_perl and I configured my site conf like so (per 
the docs):

alias /reports "C:\path\to\reports"

PerlModule ModPerl::PerlRun

<Directory "path\to\reports">
      SetHandler perl-script
      PerlResponseHandler ModPerl::PerlRun
      PerlOptions +ParseHeaders
      Options +ExecCGI
</Directory>

My httpd.conf looks like:

#
# MOD_PERL 2.0
#
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
#PerlRequire "C:/Apache2/conf/extra.pl"   <--- this errors out on APR.DLL 
even though it is there...Apache won't start unless I comment this out

Apache starts without errors but I get the following error when trying to 
server up the page:

[Mon May 23 11:46:57 2005] [error] [client 10.149.82.49] Attempt to serve 
directory: C:/path/to/reports/

This is my first "exposure" to mod_perl so maybe it is me?

Robert



mos_perl2 on Windows
Robert 15:53 on 23 May 2005

Re: mos_perl2 on Windows
Randy Kobes 17:49 on 23 May 2005

Re: mos_perl2 on Windows
Robert 18:14 on 23 May 2005

Re: mos_perl2 on Windows
Randy Kobes 20:59 on 23 May 2005

Generated at 20:12 on 05 Jun 2005 by mariachi v0.52