Date: Fri, 4 Mar 2005 11:25:19 +0100 From: Clement Laforet <sheep.killer@cultdeadsheep.org> To: ale@FreeBSD.org, freebsd-ports <ports@freebsd.org> Subject: Re: lang/php4 Apache module not matched by IfModule Message-ID: <20050304102519.GA70223@goofy.cultdeadsheep.org> In-Reply-To: <20050304100443.GB63857@vision.anyware> References: <20050304100443.GB63857@vision.anyware>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > <IfModule mod_php4.c> > AddType application/x-httpd-php .php > DirectoryIndex index.php > </IfModule> > > The instructions inside the IfModule are not evaluated. If I > comment out the opening and closing IfModule it works: > > #<IfModule mod_php4.c> > AddType application/x-httpd-php .php > DirectoryIndex index.php > #</IfModule> > > What's wrong? Correct value actually is: <IfModule sapi_apache2.c> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> clem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304102519.GA70223>