Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2005 11:04:45 +0100
From:      Jean-Baptiste Quenot <jb.quenot@caraldi.com>
To:        ale@FreeBSD.org
Cc:        freebsd-ports <ports@freebsd.org>
Subject:   lang/php4 Apache module not matched by IfModule
Message-ID:  <20050304100443.GB63857@vision.anyware>

next in thread | raw e-mail | index | archive | help
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?
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050304100443.GB63857>