From owner-freebsd-stable@FreeBSD.ORG Mon May 30 14:48:50 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A74F16A41C for ; Mon, 30 May 2005 14:48:50 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from mail.rulez.sk (DaEmoN.RuLeZ.sK [84.16.32.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F65843D48 for ; Mon, 30 May 2005 14:48:49 +0000 (GMT) (envelope-from danger@rulez.sk) Received: from localhost (localhost [127.0.0.1]) by mail.rulez.sk (Postfix) with ESMTP id 258141CC23; Mon, 30 May 2005 16:48:46 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rulez.sk (Postfix) with ESMTP id D11541CC22; Mon, 30 May 2005 16:48:40 +0200 (CEST) Date: Mon, 30 May 2005 16:49:44 +0200 From: Daniel Gerzo X-Priority: 3 (Normal) Message-ID: <1306267184.20050530164944@rulez.sk> To: Florian Prester In-Reply-To: <429B1BB9.8030603@rrze.uni-erlangen.de> References: <429B1BB9.8030603@rrze.uni-erlangen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.rulez.sk X-Spam-Status: No, hits=-1.635 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-2.82, AWL=-0.000, PRIORITY_NO_NAME=1.185] X-Spam-Level: Cc: freebsd-stable@freebsd.org Subject: Re: port-problem: apache2.0.54 mod_perl2 no Modules!! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 14:48:50 -0000 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/ > > 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.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 ]