lang/php4 Apache module not matched by IfModule

Jean-Baptiste Quenot jb.quenot at caraldi.com
Fri Mar 4 03:00:18 PST 2005


* Clement Laforet:

> On Fri, Mar  04, 2005 at 11:04:45AM  +0100, Jean-Baptiste Quenot
> wrote:
>
> > <IfModule mod_php4.c>
> >   AddType application/x-httpd-php .php
> >   DirectoryIndex index.php
> > </IfModule>
>
> Correct value actually is:
> <IfModule sapi_apache2.c>
>   AddType application/x-httpd-php .php
>   AddType application/x-httpd-php-source .phps
> </IfModule>

Well,  "sapi_apache2.c"  is  not  very  meaningful  for  a  system
administrator.  At least "php" should  appear.  And also, it means
that a number of ports are broken, eg horde.
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/


More information about the freebsd-ports mailing list