Re[2]: port-problem: apache2.0.54 mod_perl2 no Modules!!

From: Daniel Gerzo (danger_at_rulez.sk)
Date: 05/31/05

  • Next message: Ivan Voras: "IP Firewalling by DNS name"
    Date: Tue, 31 May 2005 14:30:41 +0200
    To: Florian Prester <Florian.Prester@rrze.uni-erlangen.de>
    
    

    Hello Florian,

    Tuesday, May 31, 2005, 9:18:33 AM, you made these points:

    > Sorry, my mistake we misunderstood:

    > installed the mod_perl2 port.

    > And I added to the httpd.conf:

    > LoadModule perl_module libexec/apache2/mod_perl.so

    > PerlModule Apache2

    ^^ - remove this line, this is obsoleted after mod_perl 2.0 release.
    How many times do I need to repeat myself? ;-)

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

    I'm not sure about this, but the error you are getting is IMHO related
    to the "PerlModule Apache2" line in httpd.conf, so again, remove it
    and let us know.

    > 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??
    > If I search for the Perl modules, I cannot find them anywhere!?!
    > Or are all the modules within the mod_perl.so??
    > Or do I have to install the CPAN modules??

    > I have no clue, sorry!
    > thanks

    > Florian

    -- 
    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!
    [ "God made the cat so that we, for a moment, might caress \SLMR\TAGLI ]
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Ivan Voras: "IP Firewalling by DNS name"