RE: Using Custom Vhost Entries for Webmail, MySQL, Etc.
01-30-2019, 02:44 AM
(This post was last modified: 01-30-2019, 02:55 AM by inkoop@topmatica.nl.)
(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#
var/sentora/temp is writable , my Global VHOST:
Code:
# Global Vhost Entry
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