Debian Sarge "Perfect Setup" question...

Discussion in 'HOWTO-Related Questions' started by JeffMN, Aug 4, 2005.

  1. JeffMN

    JeffMN New Member

    Hi!

    I'm a linux newbie, and have had great luck setting up Debian. I stumbled on to your site and decided to set up my server as your "Perfect Setup" instructs. I am curious about something though...

    There is a section in the document where during the Apache setup, the document instructs the reader to comment out all the "AddApplication" lines that reference PHP documents, as shown below:

    Edit /etc/mime.types and comment out the following lines:

    #application/x-httpd-php phtml pht php
    #application/x-httpd-php-source phps
    #application/x-httpd-php3 php3
    #application/x-httpd-php3-preprocessed php3p
    #application/x-httpd-php4 php4

    When I do this, none of these document types are handled properly, they are just spit out in the browser without being processed by PHP. By uncommenting the lines, they work as I would expect.

    Why would you want to comment out these lines? Maybe I'm missing something... please let me know.

    In addition to that, I am wondering if it would be possible to document what all the lines setting up Postfix are doing. There's a good chunk of commands that are fed to it without explaining what they are for.

    Thanks! Other than that, that's a great document!


    -- Jeff
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Hi Jeff,

    the Howtos a prepared for the installation of the OpenSource ISP Controlpanel ISPConfig. ISPConfig configures the document types on a per site / domain basis. If they are not commented out, ISPConfig will not be able to turn them on in the vHosts.

    Till
     
  3. falko

    falko Super Moderator Howtoforge Staff

  4. JeffMN

    JeffMN New Member

Share This Page