Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default 2 same webmails on different ports?

    Is it possible to use say 2 installs of Roundcube mail which both use the same database?

    The reason for this would be to offer port 80 access and direct access to the application, while offering offering standard cpanel integration.

  2. #2
    Member
    Join Date
    Nov 2001
    Location
    Athens - Greece
    Posts
    98

    Default

    I would suggest you to use the Proxy Directives of apache and "proxy" certain requests (say on /roundcube ) to the localhost "main" roundcube installation as provided through the cpanel interface. I could give you further details on how to do that if you feel comfortable on editing files through ssh and you are interested.
    ------
    CPanel Tips and Solutions
    http://www.cphelp.gr
    ------

  3. #3
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Yes I am very interested and comfortable editing files.

  4. #4
    Member
    Join Date
    Nov 2001
    Location
    Athens - Greece
    Posts
    98

    Default

    For the proxying you can check http://cphelp.gr/kb/?View=entry&EntryID=11 . To install roundcube have a look at http://cphelp.gr/kb/?View=entry&EntryID=10 . If you have any problems contact me through these forums.
    ------
    CPanel Tips and Solutions
    http://www.cphelp.gr
    ------

  5. #5
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Would this work for Horde/Squirrelmail as well?

    Would this work for cpanel access?

  6. #6
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Also I followed your roundcube tutorial. All works except when I log out, it does not redirect me to the cpanel webmail logout page like the others do. Is this what it is supposed to do at the moment?

    The proxy doesn't work for me, I get an Interneal Server Error. I did build Apchace 2.2 with mod_proxy yesterday.
    Last edited by rligg; 01-18-2008 at 08:34 AM.

  7. #7
    Member
    Join Date
    Nov 2001
    Location
    Athens - Greece
    Posts
    98

    Default

    Sorry, i haven't tested it with Apache 2 yet, maybe next week. What do you get on your apache error log ?

    As for Horde and Squirrel it should work flawlessly is you change the paths in the ProxyPass and ProxyPassReverse directives.

    It should also work for Cpanel by changing the redirection folder and the port to connect to, for example:
    ProxyPass /cpanel80 http://localhost:2083/frontend/x3/index.html
    ProxyPassReverse /cpanel80 http://localhost:2083/frontend/x3/index.html
    ------
    CPanel Tips and Solutions
    http://www.cphelp.gr
    ------

  8. #8
    Member
    Join Date
    Nov 2001
    Location
    Athens - Greece
    Posts
    98

    Default

    Quote Originally Posted by rligg View Post
    Also I followed your roundcube tutorial. All works except when I log out, it does not redirect me to the cpanel webmail logout page like the others do. Is this what it is supposed to do at the moment?
    I don't want to edit the source code of RoundCube so as in the future to be as easy and straightforward as possible to update it. If you are willing to do it i suppose you could edit the logout action to redirect you to the cpanel logout page and not to the login screen again.
    ------
    CPanel Tips and Solutions
    http://www.cphelp.gr
    ------

  9. #9
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Quote Originally Posted by troxalias View Post
    I don't want to edit the source code of RoundCube so as in the future to be as easy and straightforward as possible to update it. If you are willing to do it i suppose you could edit the logout action to redirect you to the cpanel logout page and not to the login screen again.
    It's ok, I just wanted to know if this was normail or if I did something wrong. Thank you for your time.

  10. #10
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Error:

    [Fri Jan 18 10:47:40 2008] [error] [client 127.0.0.1] SSL Proxy requested for servL1DYWXEU.sn.sourcedns.com:80 but not enabled [Hint: SSLProxyEngine]
    [Fri Jan 18 10:47:40 2008] [error] proxy: HTTPS: failed to enable ssl support for 127.0.0.1:2096 (localhost)


    Is it not on? I compiled it for sure. Thanks.


    I made some changes in the user's vhost:

    SSLProxyEngine on
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /cpanel80 https://localhost:2083/frontend/x3/index.html
    ProxyPassReverse /cpanel80 https://localhost:2083/frontend/x3/index.html
    </IfModule>



    When running I get the following:

    The login page shows up with no images. When I try to log in I get the error below: Ditto for roundcube as well.


    Error
    The requested URL /login/ was not found on this server.


    Could any of this have anything to do with some of the "Tweaks"? Like force secure Login? or Force Cookie Login?
    Last edited by rligg; 01-18-2008 at 10:06 AM.

  11. #11
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    anyone else try this?

  12. #12
    Member
    Join Date
    Nov 2001
    Location
    Athens - Greece
    Posts
    98

    Default

    Can you try to add after the ProxyPassReverse directive the following:
    SSLRequireSSL
    ------
    CPanel Tips and Solutions
    http://www.cphelp.gr
    ------

  13. #13
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    This directive spawns an apache error inside and outside the directive.:

  14. #14
    Member
    Join Date
    Apr 2004
    Posts
    36
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    troxalias,

    by following your method of installing RC, will it get removed when cpanel gets updated during upcp?

    Quote Originally Posted by troxalias View Post
    For the proxying you can check http://cphelp.gr/kb/?View=entry&EntryID=11 . To install roundcube have a look at http://cphelp.gr/kb/?View=entry&EntryID=10 . If you have any problems contact me through these forums.

  15. #15
    Member
    Join Date
    Sep 2003
    Posts
    234

    Default

    Is it possible for 2 different installs of roundcube to use the same database? If so, would this keep user data stored properly no matter how the user access roudncube. Say over port 443 and port 2095 ?

Similar Threads & Tags
Similar threads

  1. webmails with cpanel
    By a_raims in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-08-2007, 07:55 PM
  2. Free Webmails to use with cpanel
    By Rafaelfpviana in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 07-15-2006, 09:49 AM
  3. Problems in the 2 WEBMAILS
    By Roger AIDI in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-30-2003, 04:15 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube