Hello Florian,
Monday, May 30, 2005, 3:57:13 PM, you wrote these comments:
> Hi,
> I installed the mod_perl2 port.
> I added to the httpd.conf:
> PerlModule Apache2
this is wrong, you should add:
LoadModule perl_module libexec/apache2/mod_perl.so
Be careful, the mod_perl2 API was changed nearly to the 2.0 release,
so your scripts should not work. Check:
http://perl.apache.org/docs/2.0/rename.html
Btw. the mod_perl2 maintainer should check his pkg-message, because it
says: LoadModule perl_module modules/mod_perl.so, this path is wrong,
since FreeBSD installs modules to libexec/apache2/
> Alias /perl/ /data/chroot/www/perl/
> <Location /perl/>
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
> Options +ExecCGI
> </Location>
> 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.6
> /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
> darkspace
--
Best regards
DanGer, ICQ: 261701668 | e-mail protecting at: http://www.2pu.net/
http://danger.rulez.sk | proxy list at: http://www.proxy-web.com/
| FreeBSD - The Power to Serve!
[ "Great! Just what I want to be...cute!" -- Ens. Ro Laren ]