squirrelmail not working correctly

Discussion in 'Server Operation' started by techmeltz, Jul 18, 2008.

  1. techmeltz

    techmeltz New Member

    I followed Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS) but was unable to get squirrelmail to load in the browser. instead I got this:
    <?php

    /**
    * index.php
    *
    * Redirects to the login page.
    *
    * @copyright &copy; 1999-2007 The SquirrelMail Project Team
    * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    * @version $Id: index.php 12127 2007-01-13 20:07:24Z kink $
    * @package squirrelmail
    */

    // Are we configured yet?
    if( ! file_exists ( 'config/config.php' ) ) {
    echo '<html><body><p><strong>ERROR:</strong> Config file ' .
    '&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
    'configure SquirrelMail before you can use it.</p></body></html>';
    exit;
    }

    // If we are, go ahead to the login page.
    header('Location: src/login.php');

    ?>

    It looks to me like disabling PHP globally may be the culprit, but it was in the recipe, so I assume that I am wrong about that.

    techmeltz
     
  2. techmeltz

    techmeltz New Member

    Figured it out...

    I was on the right track... I had disabled php globally with the intent of using ispconfig to enable on a site by site basis, but I had not done so yet.

    Techmeltz
     

Share This Page