This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Using Custom Vhost Entries for Webmail, MySQL, Etc.
#71
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
Quote:But Roundcube giving me a :
"CONFIGURATION ERROR

config.inc.php was not found.
Please read the INSTALL instructions!"


I will first check the if customer has e-mail configured in the panel.

Also double check the file and folder locations (and that the files even exist) for roundcube (/etc/sentora/panel/etc/apps/webmail/).

Quote:My rerouting from onsecure to secure when http://panel.topmatica.nl  is used is not working. I come to the old Joomla site which is offline. Despite the the Vhost override  [Image: undecided.gif]  

Secure website and panel is working and reacting on https://panel.topmatica.nl

The port forward is not working properly, or the main domain vhost is not set properly. PM me your httpd-vhosts.conf.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#72
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
(03-24-2018, 07:28 AM)TGates Wrote: Also double check the file and folder locations (and that the files even exist) for roundcube (/etc/sentora/panel/etc/apps/webmail/).


The port forward is not working properly, or the main domain vhost is not set properly. PM me your httpd-vhosts.conf.

 Sorry that it takes so long.

/etc/sentora/panel/etc/apps/webmail/   does exists and is accessible when you use the complete path in URL in browser.

But i will send you my httpd-vhost.conf.

Has it something to do with rights on the config files?  Has this influence on how you access the Roundcube?!
domain/webmail   not working
domain/etc/apps/webmail/   is working !
Reply
Thanks given by:
#73
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
(06-29-2018, 07:00 PM)inkoop@topmatica.nl Wrote:  Sorry that it takes so long.

/etc/sentora/panel/etc/apps/webmail/   does exists and is accessible when you use the complete path in URL in browser.

But i will send you my httpd-vhost.conf.

Has it something to do with rights on the config files?  Has this influence on how you access the Roundcube?!
domain/webmail   not working
domain/etc/apps/webmail/   is working !

I think I messed up the httpd-vhost.conf.

To get rid of the "config.inc.php not found " in Roundcube webmail  i comment out the php_admin value open_basedir 
in the vhost for my panel domain. My panel is panel.topmatica.nl and I have a vhost http://www.topmatica.nl .
This did not work for my other vhost. I am getting a gray screen on my http://www.customers.nl/webmail page.
Still figure out where it goes wrong Undecided
Reply
Thanks given by:
#74
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
Some were last year I upgraded Roundcube to 1.3.7 .  Is it compatible with Sentora 1.0.3 ?
That's why I got these 
Quote:CONFIGURATION ERROR

config.inc.php was not found.
Please read the INSTALL instructions!

Or is it something else or is there a solution for getting Roundcube 1.3.7 work with Sentora?
Reply
Thanks given by:
#75
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
(01-26-2019, 12:12 AM)inkoop@topmatica.nl Wrote: Some were last year I upgraded Roundcube to 1.3.7 .  Is it compatible with Sentora 1.0.3 ?
That's why I got these 

Or is it something else or is there a solution for getting Roundcube 1.3.7 work with Sentora?

Yes, 1.3.7 should work with Sentora, if installed/upgraded correctly. In my experience, this error means you have either not upgraded correctly, or you have destroyed one of Sentora's symbolic links (possibly both).

Tell me, did you run the upgrade script to perform the Roundcube upgrade or did you just go ahead and copy the new files over the old?

Keith
Reply
Thanks given by:
#76
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
There should be a config.inc.php in /etc/sentora/panel/etc/apps/webmail/config if roundcube was upgraded properly. I believe they changed the location and name of the config file.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#77
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
(01-26-2019, 08:01 AM)TGates Wrote: There should be a config.inc.php in /etc/sentora/panel/etc/apps/webmail/config if roundcube was upgraded properly. I believe they changed the location and name of the config file.

Yes but it's a link to  /etc/sentora/configs/roundcube/roundcube_config.inc.php 
Code:
4 drwxrwxrwx  2 www-data www-data  4096 Aug 17 13:47 .
4 drwxrwxrwx 12 www-data www-data  4096 Aug 17 13:52 ..
0 lrwxrwxrwx  1 www-data www-data    55 Apr 29  2015 config.inc.php -> /etc/sentora/configs/roundcube/roundcube_config.inc.php
52 -rw-r--r--  1 www-data www-data 52615 Jul 29  2018 defaults.inc.php
4 -rwxrwxrwx  1 www-data www-data  2815 Jan 30  2015 mimetypes.php
root@server:/etc/sentora/panel/etc/apps/webmail/config#
It is only woking from the link in Sentora panel. panel.server.nl/etc/apps/webmail/  Not from http://www.customer.nl/webmail 
var/sentora/temp is writable , my Global VHOST:

Code:
# Global Vhost Entry
#Alias for MySQL login
Alias "/mysql" "/etc/sentora/panel/etc/apps/phpmyadmin"
<Directory "/etc/sentora/panel/etc/apps/phpmyadmin/">
  php_admin_value open_basedir /etc/sentora/panel/etc/apps/phpmyadmin
  Options +FollowSymLinks -Indexes
  AllowOverride All
  Require all granted
</Directory>
# Alias for roundcube WebMail login
Alias "/webmail" "/etc/sentora/panel/etc/apps/webmail"
<Directory "/etc/sentora/panel/etc/apps/webmail/">
  php_admin_value
 
Now I am going to try if Apache can handle the .../webmail directory. I see new files are set to 501:80 and not to www-data:www-data.

No , it doesn't matter  Sad
Reply
Thanks given by:
#78
RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
This could be a new thread.

The installer needs full acces. Now I did a chown www-data:www-data -R   in /etc/sentora/panel/etc/apps/webmail
, run the installer again,  and did a test.
But you have to copy specific Sentora config db table and loginkey in config.inc.php to get it work.

Now its also working on http://www.customer.nl/webmail    Shy
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
SSL and Custom Vhost Entries for Webmail etienne7702 5 3,245 03-08-2018, 09:54 PM
Last Post: etienne7702
Custom Error Pages/Static Pages TGates 8 13,325 05-11-2016, 03:15 PM
Last Post: Kumar
How to overwrite default admin. vhost? NIicK 1 2,318 03-27-2016, 01:16 AM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)