lang/php4 Apache module not matched by IfModule

Jean-Baptiste Quenot jb.quenot at caraldi.com
Fri Mar 4 02:04:45 PST 2005


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/


More information about the freebsd-ports mailing list