RoundCube 0.1.1 package available for ISPConfig

Discussion in 'General' started by Hans, Apr 7, 2008.

  1. Hans

    Hans Moderator Moderator

    RoundCube 0.1.1 has been released on 5-4-2008, which is the first service update for RoundCube Webmail 0.1-stable.
    Based on this latest stable version, i've created two new RoundCube packages for ISPConfig today.

    The first package is a "install and run" solution.

    The second package contains the RoundCube installer script, which can be useful to verify the system requirements for RoundCube.
    This package comes also with the configuration files db.inc.php and main.inc.php, so you don't need to create those files again.
    Don't forget to remove the whole directory /home/admispconfig/ispconfig/web/roundcubemail/installer when you don't need the installer anymore. Also remove the following line within the configuration file /home/admispconfig/ispconfig/web/roundcubemail/config/main.inc.php afterwards:

    // THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG $
    // ONLY ENABLE IT IF YOU'RE REALLY SURE WHAT YOU'RE DOING!
    $rcmail_config['enable_installer'] = true;


    Before you install it with the update manager within ISPConfig, please remove the previous RoundCube package first.
    This can be done by executing the following commands:

    rm /home/admispconfig/ispconfig/web/roundcubemail.tar
    rm -r /home/admispconfig/ispconfig/web/roundcubemail
    rm -r /home/admispconfig/ispconfig/web/tools/tools/roundcubemail

    The package of your choice can be downloaded here.
     

    Attached Files:

    Last edited: Apr 7, 2008
  2. guido.marangoni

    guido.marangoni New Member

    Hi, I try to update my roundcubemail-0.1-rc2

    I remove the old version with this commands:
    rm /home/admispconfig/ispconfig/web/roundcubemail.tar
    rm -r /home/admispconfig/ispconfig/web/roundcubemail
    rm -r /home/admispconfig/ispconfig/web/tools/tools/roundcubemail

    I install the pkg from http://ispconfig.bb-hosting.org/uk/ and ISPconfig response is:

    Installation OK

    But when I try to use RoundCube this is the error:
    Not Found
    The requested URL /roundcubemail/ was not found on this server.

    Why? Thank you very much and I'm sorry for my English!

    Guido
     
  3. Hans

    Hans Moderator Moderator

  4. Hans

    Hans Moderator Moderator

    Error during RoundCube 0.1.1 setup

    When you setup RC 0.1.1, using the RC installer, probably you will see an error which says:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www..../webX/web/roundcube/installer/index.php: in /var/www/webX/web/roundcube/installer/index.php on line 29

    Line 29 contains: session_start();

    ----

    The reason that this error occurs is that you cannot have anything before the session_start(); at line 29, NOT ONE CHARACTER, otherwise, the browser thinks the webpage has already started, so before you start session_start(); YOU CANNOT START THE HEADER. You start the header with any character, this includes blank spaces.

    You can avoid the described error by doing the following:

    Remove line 29 and put the following text on the VERY FIRST 3 lines of the installer/index.php file:

    <?php
    session_start();
    ?>

    After that save the file and point to the RC installer within your refreshed browser.
     
    Last edited: Apr 22, 2008
  5. make-fun

    make-fun Member

    Hi folks

    Anyone having problems with this version my have to check the new .htaccess in
    Code:
    /home/admispconfig/ispconfig/web/roundcubemail
    It causes probs on my install:
    Code:
    [Wed Apr 23 02:41:41 2008] [alert] [client ] /home/admispconfig/ispconfig/web/roundcubemail/.htaccess: php_flag not allowed here
    [Wed Apr 23 02:41:57 2008] [alert] [client ] /home/admispconfig/ispconfig/web/roundcubemail/.htaccess: php_flag not allowed here
    [Wed Apr 23 02:44:13 2008] [alert] [client ] /home/admispconfig/ispconfig/web/roundcubemail/.htaccess: php_flag not allowed here
    I'll have to look into it, as I had to change the ispconfig-apache httpd.conf a few days ago, to control access to the webmail, using a .htaccess. At this time there was no existing .htaccess, but the new roundcubemail pack comes with one containing:
    Code:
    # AddDefaultCharset     UTF-8
    AddType text/x-component .htc
    
    <IfModule mod_php4.c>
      php_flag     display_errors  Off
      php_flag     log_errors      On
      php_value    error_log       logs/errors
      php_value    upload_max_filesize     5M
      php_value    post_max_size   6M
      php_value    memory_limit    64M
      php_value    session.auto_start      0
      php_value    zlib.output_compression 0
      php_value    magic_quotes_gpc        0
    </IfModule>
    
    <IfModule mod_php5.c>
      php_flag     display_errors  Off
      php_flag     log_errors      On
      php_value    error_log       logs/errors
      php_value    upload_max_filesize     5M
      php_value    post_max_size   6M
      php_value    memory_limit    64M
      php_value    session.auto_start      0
      php_value    zlib.output_compression 0
      php_value    magic_quotes_gpc        0
    </IfModule>
    
    <FilesMatch "(\.inc|\~)$">
      Order allow,deny
      Deny from all
    </FilesMatch>
    
    Order deny,allow
    Allow from all
    
     
  6. make-fun

    make-fun Member

    okay, in my case it had to do with the change in ispconfig-apache httpd.conf.
    When reversing it from
    Code:
    AllowOverride Indexes AuthConfig Limit FileInfo
    to 
    AllowOverride None
    RoundCube works.

    Hans here is a question — why did the last pack not have a .htaccess? I checked my backups and it confirmed what I thought, there was no .htaccess in the March 08 pack.
    And any idea how to use a .htpasswd to protect the webmail?

    Plus I don't understand why there is
    Code:
    php_value    zlib.output_compression 0
    in the .htpasswd, when they have this function in the
    PHP:
    // set output buffering
    if ($_action != 'get' && $_action != 'viewsource')
    {
      
    // use gzip compression if supported
      
    if (function_exists('ob_gzhandler') && !ini_get('zlib.output_compression'))
        
    ob_start('ob_gzhandler');
      else
        
    ob_start();
    }
    Thanks
    Cheers
     
  7. Hans

    Hans Moderator Moderator

    Your problem was not RC related, you had to allow .htaccess files by setting the AllowOverride indeed.
    I created the package from the original RC release. This RC release comes with .htaccess files. In the past these .htaccess files where not included, but I added them for security reasons. I did not add any zlib related items. As I said before, the package is the same (where possible) as the original RC release. The package makes a fast RC setup possible.
     
  8. make-fun

    make-fun Member

    Hi Hans

    Yes I found the .htaccess in the original RC,too — this time. And hence I was wondering why THEY(RC) do write
    Code:
    php_value    zlib.output_compression 0
    while in the PHP code they seemed keen on using it. It's a contradiction within RC and I was wondering if you understood why?

    Anyway, later I found out that
    PHP:
    ob_start('ob_gzhandler')
    does not wok in the /home/admispconfig/ispconfig/web/
    (have nother post on this http://www.howtoforge.com/forums/showthread.php?t=22638)


    The old problem I had was solved already.
    Then Till replyed with the same solution
    And when I do this I'm getting the error 500 with RC, so I'm still wondering how to have both working RC && Authentication.(have nother post on this)

    Cheers
     
  9. Hans

    Hans Moderator Moderator

    You can consider to use:

    AllowOverride All
     

Share This Page