Re: apache and php scripts
At Monday, 2 August 2004, Joost De Cock <joost@decock.org> wrote:
*snip*
>
>Check out your apache config file:
>/etc/apache/httpd.conf
>
>look for these lines:
>AddType application/x-httpd-php .php
>AddType application/x-httpd-php-source .phps
>
>Are they commented out? Then uncomment them. (you don't need the
second one)
>
>If not, let us know.
>
>joost
>
they are there, however, they are dependent on <IfModule mod_mime.
c>. i did not find this module in the Dynamic Shared Object (DSO)
Support section of httpd.conf ... should it be there?
:
#
# AddType allows you to tweak mime.types without actually editing
# it, or to make certain files to be certain types.
#
# For example, the PHP 3.x module (not part of the Apache
# distribution - see http://www.php.net) will typically use:
#
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-tar .tgz
AddType image/bmp .bmp
# hdml
AddType text/x-hdml .hdml
Reply to: