Roundcube addressbook error when opened from virtual host

NethServer Version: 7.3.1611
Module: roundcubemail

Hi,

I just spend a 2 hours to find out that recipient completion is not working when roundcubemail is started via a virtualhost (https://server.sld.tld/webmail). I get an error “Serverfehler! (Internal Server Error)”. No logentrys for this error. When roundcubemail is called via https://servername/webmail everything is working.

Any ideas?

Best regards,
Joachim

How do you have configured such virtualhost? Why create a virtualhost for roundcube?
Do you mean a DNS alias?

Sorry, I wasn´t clear enough.

I didn´t create a virtualhost specifically for webmail. I created a vhost so that I can my server from the Internet via my registered servername from dyndns (https://nextcloud.mydomain.tld). Additionally I want to access webmail via this virtualhost too (via https://nextcloud.mydomain.tld/webmail).

I didn´t configure anything Special in the vhost, except I created a symbolic link to the nextcloud Directory /var/WWW/html/nextcloud in /var/lib/nethserver/vhost/nextcloud (Nextcloud in new virtualhost)

You should check all logs inside /var/log/http and also inside /var/log/roundcubemail/.

In access.log I get:

[02/Mar/2017:15:50:32 +0100] “GET /webmail/?_task=addressbook HTTP/1.1” 500 - “https://nextcloud.homelinux.org/webmail/?_task=mail&_mbox=INBOX” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8”

Nothing in /var/log/roundcubemail