apache & php3 question

H. Bartel lists at u-rep.com
Thu Oct 2 05:51:54 PDT 2003


On 10/02/2003 08:02 PM gihl at nesic.com.ph (Gil Agno Virtucio) wrote:

>have you tried adding something like ....
>
><IfModule mod_mime.c>
>     AddType application/x-httpd-php .php3
>     AddType application/x-httpd-php-source .phps
></IfModule>

Well, I haven't tried it, but those AddType things are already in there. It looks like this, and I can see that they are not contained inside <IfModule mod_mime.c>.

<IfModule mod_php3.c>
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .php3s
</IfModule>
<IfModule mod_php4.c>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
</IfModule>


By looking arond I have noticed, that there are quite a few occurences of 
<IfModule mod_mime.c> in httpd.conf. Which one would be the right one?

H.


More information about the freebsd-questions mailing list