From owner-freebsd-ports@FreeBSD.ORG Fri Mar 4 10:25:22 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE99516A4CE for ; Fri, 4 Mar 2005 10:25:22 +0000 (GMT) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 3136243D2D for ; Fri, 4 Mar 2005 10:25:21 +0000 (GMT) (envelope-from sheep.killer@cultdeadsheep.org) Received: (qmail 72735 invoked by uid 1000); 4 Mar 2005 11:25:19 +0100 Date: Fri, 4 Mar 2005 11:25:19 +0100 From: Clement Laforet To: ale@FreeBSD.org, freebsd-ports Message-ID: <20050304102519.GA70223@goofy.cultdeadsheep.org> References: <20050304100443.GB63857@vision.anyware> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050304100443.GB63857@vision.anyware> User-Agent: Mutt/1.5.6i Subject: Re: lang/php4 Apache module not matched by IfModule X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Mar 2005 10:25:22 -0000 On Fri, Mar 04, 2005 at 11:04:45AM +0100, Jean-Baptiste Quenot wrote: > Hello, > > I have FreeBSD 5.3-RELEASE with apache-2.0.53 and php4-4.3.10_2 > > In httpd.conf: > > LoadModule php4_module libexec/apache2/libphp4.so > > > AddType application/x-httpd-php .php > DirectoryIndex index.php > > > The instructions inside the IfModule are not evaluated. If I > comment out the opening and closing IfModule it works: > > # > AddType application/x-httpd-php .php > DirectoryIndex index.php > # > > What's wrong? Correct value actually is: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps clem