Re: apache and php scripts

From: Harland Christofferson (debian-user_at_zerocrossings.com)
Date: 08/02/04

  • Next message: John Summerfield: "Re: What determines which /dev/sd* a USB device becomes?"
    To: debian-user@lists.debian.org
    Date: Mon, 2 Aug 2004 09:56:34 -0400
    
    

    At Monday, 2 August 2004, Joost De *** <joost@de***.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

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: John Summerfield: "Re: What determines which /dev/sd* a USB device becomes?"