[BlueOnyx:06605] Re: SquirrelMail problem

Christoph Schneeberger cschnee at box.telemedia.ch
Tue Mar 1 03:30:48 -05 2011


lewisg wrote:
> Why would SquirrelMail respond with a login page on some vsites and on 
> others respond with the following?
>
> <?php
>
> /**
>   * index.php
>   *
>   * Redirects to the login page.
>   *
>   * @copyright © 1999-2006 The SquirrelMail Project Team
>   * @license http://opensource.org/licenses/gpl-license.php GNU Public 
> License
>   * @version $Id: index.php,v 1.14.2.7 2006/02/03 22:27:46 jervfors Exp $
>   * @package squirrelmail
>   */
>
> // Are we configured yet?
> if( ! file_exists ( 'config/config.php' ) ) {
>      echo '<html><body><p><strong>ERROR:</strong> Config file ' .
>          '"<tt>config/config.php</tt>" 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');
>
> ?>
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
>   

See here for a solution without enabling PHP:

http://www.bluequartz.us/phpBB2/viewtopic.php?p=552582&sid=248b6ec7e4465d4deab8270a12e19934

Wondering why this isn't part of BlueOnyx's Squirrelmail package...

Cheers,
Christoph



More information about the Blueonyx mailing list