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.
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.
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.
Yes I am very interested and comfortable editing files.
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.
Would this work for Horde/Squirrelmail as well?
Would this work for cpanel access?
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.
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
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.
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.
anyone else try this?
Can you try to add after the ProxyPassReverse directive the following:
SSLRequireSSL
This directive spawns an apache error inside and outside the directive.:
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 ?