port-problem: apache2.0.54 mod_perl2 no Modules!!

Florian Prester Florian.Prester at rrze.uni-erlangen.de
Mon May 30 06:57:44 PDT 2005


I installed the mod_perl2 port.
I added to the httpd.conf:

PerlModule Apache2

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

But nothing happens, the server cannot find the modules:

Fri May 27 12:04:56 2005] [error] Can't locate Apache2.pm in @INC (@INC 
contains: /usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 . /usr/local) at (eval 4) line 3.\n
[Fri May 27 12:04:56 2005] [error] Can't load Perl module Apache2 for 
server ...

Any Ideas??

Thanks in advance

Dipl. Inf. Florian Prester
Network Administration
Regionales RechenZentrum Erlangen
Universitaet Erlangen-Nuernberg

Tel.: +499131 8527813

More information about the freebsd-stable mailing list