newbie question already searched the faqs and archives

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

From: Donald Lee
Subject: newbie question already searched the faqs and archives
Date: 00:04 on 21 May 2005
Hello, I am looking for some help getting started with mod_perl.
I am at a stopping point where I am at a loss...

my setup is as follows:
windows xp pro w/sp2
apache 2.0.54
active perl, v5.8.6 built for MSWin32-x86-multi-thread

I am already consulting:
http://perl.apache.org/docs/2.0/os/win32/config.html

  so far everything is working up to the point where I put in the following 
strings in httpd.conf
LoadFile "C:/SERVER/perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so

Apache service will start without errors.

if I add the following line:
PerlRequire "C:/SERVER/apache2/Apache2/conf/extra.pl"

with the code placed in an ascii text file named accordingly in the /conf 
directory, apache fails to start.

If I remove the line, apache will start normally.
If I put in the lines:

Alias /perl/ "C:/SERVER/apache2/Apache2/perl/"

  <Location "C:/SERVER/apache2/Apache2/perl">
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     Options +ExecCGI
     PerlOptions +ParseHeaders
  </Location>


apache will fail to start.
I have also tried cutting and pasting the entry unchanged:
Alias /perl/ "/Apache2/perl/"
  <Location /perl>
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     Options +ExecCGI
     PerlOptions +ParseHeaders
  </Location>

Obviously I am missing something or have inadvertently skipped a step; the 
directories all exist as indicated.  pointers in the right direction would 
be appreciated.
Thanks
Don


newbie question already searched the faqs and archives
Donald Lee 00:04 on 21 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52