Webmail roundcube

Discussion in 'ISPConfig 3 Priority Support' started by xanela, Sep 26, 2014.

  1. xanela

    xanela Member

    Hello everyone.

    I upgraded from my server, which is installed with debian wheezy 7. Only necesitava update S.O.

    After upgrading the OS fails I'm webmail. I have it set to work for domains extension as follows: www.domain.com/webmail.

    The problem is that if it works in some domains and not in others.

    Currently I have it installed according roundcube indicated in the manual.

    it may be due? as I can fix?

    I hope your help.

    thank you
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Edit the /etc/apache2/conf.d/roundcube.conf file and add the line:

    AddType application/x-httpd-php .php

    inside the roundcube directory directiv (must be /usr/share/roundcube) if I remember correctly, then restart apache.
     
  3. xanela

    xanela Member

    Hello again.

    I checked the configuration file in apache2 roundcube and have the added directive correctly.

    what I find strange is that the work in a webmail domains and not in others.

    but do not quite understand that you mean:

    Directing in roundcube inside the directory (must be / usr / share / roundcube)

    I have the Alias​​:

    Alias ​​/ webmail / var / lib / roundcube

    If I sustitullo by / usr / share / roundcube gives me error in all domains
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The istall directory may vary, if its /var/lib/roundcube on your server, then add the line that I posted inside of this directory directive. I'am not talking about an alias.

    That depends on the php mode of the website.
     
  5. xanela

    xanela Member

    The line you indicate this added me, this is the configuration file:

    Code:
    # Those aliases do not work properly with several hosts on your apache server
    # Uncomment them to use it or adapt them to your configuration
       #Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
       #Alias /roundcube /var/lib/roundcube
    
       Alias /webmail /var/lib/roundcube
    
    # Access to tinymce files
    <Directory "/usr/share/tinymce/www/">
          Options Indexes MultiViews FollowSymLinks
          AllowOverride None
          Order allow,deny
          allow from all
    </Directory>
    
    <Directory /var/lib/roundcube/>
      Options +FollowSymLinks
      DirectoryIndex index.php
    
      <IfModule mod_php5.c>
        AddType application/x-httpd-php .php
    
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .:/usr/share/php
      </IfModule>
    
      # This is needed to parse /var/lib/roundcube/.htaccess. See its
      # content before setting AllowOverride to None.
      AllowOverride All
      order allow,deny
      allow from all
    </Directory>
    
    # Protecting basic directories:
    <Directory /var/lib/roundcube/config>
            Options -FollowSymLinks
            AllowOverride None
    </Directory>
    
    <Directory /var/lib/roundcube/temp>
            Options -FollowSymLinks
            AllowOverride None
            Order allow,deny
            Deny from all
    </Directory>
    
    <Directory /var/lib/roundcube/logs>
            Options -FollowSymLinks
            AllowOverride None
            Order allow,deny
            Deny from all
    </Directory>
    
     
  6. xanela

    xanela Member

    Now it returns error 500 when trying to access Tando www.midominio.com/webmail as www.midominio.com/roundcube

    Code:
    ERROR 500 - Internal Server Error! 
    
    The following errors occurred: 
    
    The requested URL Caused an internal server error. 
    
    If you get this message Repeatedly Please contact the webmaster.
    As much as I review and check where it can not be the error.

    any suggestions
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the apache error.log and the error.log of the website.
     
  8. xanela

    xanela Member

    Site log shows this:

    Code:
    [Tue Sep 30 12:17:46 2014] [error] [client 83.*.*.*] SoftException in Application.cpp: 221: File "/usr/share/roundcube/index.php" is not in document root of Vhost "/ var / www / pex****.net / web "
    [Tue Sep 30 12:17:46 2014] [error] [client 83.*.*.*] Premature end of script headers: index.php
     
  9. xanela

    xanela Member

Share This Page