Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 23rd June 2011, 13:40
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

Normally you should not change anything. The installation through package manager is very simple.

Anyway in my system in /etc/roundcube/ all files belong to root:root except debian-db.php and main.inc.php which belong to root:www-data

Do you have any main.inc.php in your /etc/roundcube/ directory?
Reply With Quote
Sponsored Links
  #22  
Old 23rd June 2011, 14:18
T1mur T1mur is offline
Junior Member
 
Join Date: Jun 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for replay

yes its look like this :
root@ns38685:/etc/roundcube# ls -l
total 60
-rw-r--r-- 1 root root 1115 Jun 23 12:16 apache.conf
-rw-r--r-- 1 root root 2260 Oct 18 2010 db.inc.php
-rw-rw---- 1 www-data www-data 552 Jun 23 12:28 debian-db.php
-rw-r--r-- 1 root root 567 Sep 27 2009 lighttpd.conf
-rw-r----- 1 root www-data 18307 Jun 23 12:23 main.inc.php
-rw-r----- 1 root www-data 18306 Jun 22 19:38 main.inc.php.ucf-old
-rw-r--r-- 1 root root 2392 Aug 7 2009 mimetypes.php

regards


EDIT

i made some progerss ...
chroot 664 main.inc.php

now i have :

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

wrrrr... Any idea what else can be wrong ?
thanx

Last edited by T1mur; 23rd June 2011 at 17:24.
Reply With Quote
  #23  
Old 25th June 2011, 11:51
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

It seems that you didn't do the installation correct.
Please read the last posts of the first page of this thread.
It's a reinstall procedure of roundcube.
Reply With Quote
  #24  
Old 25th June 2011, 17:13
T1mur T1mur is offline
Junior Member
 
Join Date: Jun 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well i did what u tell me and got this same error with main.inc.php but after chmod it works no more problems thx very much

regards.
Reply With Quote
  #25  
Old 5th September 2012, 11:03
Wisdown Wisdown is offline
Member
 
Join Date: Aug 2012
Posts: 82
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Was following the guide

And i havent added those lines:

[CODE]
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /webmail>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}:50443%{REQUEST_URI} [L]
</Location>
</IfModule>
</IfModule>

<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /roundcube>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}:50443%{REQUEST_URI} [L]
</Location>
</IfModule>
</IfModule>
[/QUOTE]

But the roundcube only works on (show login screen only):

https://maindomain.com:8080/webmail

Whats is missing on the guide?

Trying access from any other domain i get:

http://otherdomain.com/webmail
ERROR 500 - Internal Server Error!


And therenothing on /varlog/apache2/access.log or /varlog/apache2/error.log
Im on debian 6, fresh install once more time...

Last edited by Wisdown; 5th September 2012 at 12:02.
Reply With Quote
  #26  
Old 5th September 2012, 12:50
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

You wasn't Following the Easy Roundcube over SSL guide, but the Extending Perfect Server guide.

The first guide, assumes some things in the beggining. Did you follow them?
The second uses https and a different port (the lines that you haven't add)
Reply With Quote
  #27  
Old 5th September 2012, 13:09
Wisdown Wisdown is offline
Member
 
Join Date: Aug 2012
Posts: 82
Thanks: 7
Thanked 2 Times in 2 Posts
Default

What things you mean?

I have an multiserver enviroment working, one server for mail, other for web, other for database, other 2 for dns.

I just dindt added the squirrell mail, was choosing between horde and roundcube so i tried folow this tutorial:

http://www.howtoforge.com/virtual-mu...ispconfig-3-p4

To increase the security, and followed the setup for get roundcube working, but dindt worked...
Reply With Quote
  #28  
Old 5th September 2012, 13:29
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

Quote:
Originally Posted by Wisdown View Post
What things you mean?

I have an multiserver enviroment working, one server for mail, other for web, other for database, other 2 for dns.

I just dindt added the squirrell mail, was choosing between horde and roundcube so i tried folow this tutorial:

http://www.howtoforge.com/virtual-mu...ispconfig-3-p4

To increase the security, and followed the setup for get roundcube working, but dindt worked...
To increase security you have to redirect to https.
Do you enabled ssl access (https) for ispconfig?
If yes, you should redirect roundcube.
If no, normally, you can access roundcube at
http://youdomain.xx/webmail
or
http://yourdomain.xx/roundcube

ALL THE ABOVE are correct for SINGLE server setup.

I assume that for multiserver setup, you have to install roundcube at the same server as the webserver and configure roundcube accordingly.
Or you have to install another apache at the same server as mail (VERY BAD CHOISE).

In every case if you want ssl you need the redirection. If you don't want ssl you sould be able to access the /webmail based on the config file at:
/etc/apache2/conf.d/roundcube.conf
Reply With Quote
  #29  
Old 5th September 2012, 13:37
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 148
Thanks: 16
Thanked 35 Times in 26 Posts
Default

I just see
7.2.6 Installing RoundCube
at
http://www.howtoforge.com/virtual-mu...ispconfig-3-p4

I wrote the above but at http://www.howtoforge.com/extending-...ispconfig-3-p2 which is a SINGLE perfect server setup.

I assume that you have to make some modifications as the webserver is not at the same machine with the mail server.
Reply With Quote
  #30  
Old 5th September 2012, 13:40
Wisdown Wisdown is offline
Member
 
Join Date: Aug 2012
Posts: 82
Thanks: 7
Thanked 2 Times in 2 Posts
 
Default

I`m not willing enable https, since i only have one IP, and i`m behind NAT...
Because this i have ignored the 2 lines for https, there an note:

Quote:
If you want SSL you should include the last two directives (IfModule mod_rewrite.c) to have apache ALWAYS redirect to your SSL installation of ISPConfig.
Like i sayed, i dont wanna SSL, so i have ignored those 2 steps from the guide...


Quote:
ALL THE ABOVE are correct for SINGLE server setup.

I assume that for multiserver setup, you have to install roundcube at the same server as the webserver and configure roundcube accordingly.
Or you have to install another apache at the same server as mail (VERY BAD CHOISE).

In every case if you want ssl you need the redirection. If you don't want ssl you sould be able to access the /webmail based on the config file at:
/etc/apache2/conf.d/roundcube.conf
The title of post i was following says :

Multisever setup, because this i was following the guide:

http://www.howtoforge.com/virtual-mu...ispconfig-3-p4

The problem is exact it, i dont wanna the SSL, i dindt have setted anything to SSL, but the results is send me to SSL, only for see the login screen, since the authentication is failing, but this is an issue with my mailserver.
I think i need set on

/etc/apache2/conf.d/roundcube.conf

To use TLS, i see an example to add tls://mail.domain.com, i tried and failed too, i`m not sure if i will need set an account info to do the login, and if using this info on other fields of this file, other domains dont gonna get the right accounts on authentication.

Sorry but i`m learning how mail system works.

Last edited by Wisdown; 5th September 2012 at 13:43.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.