[bUnable to access webmail: 404 The requested URL was not found on this server ][/b]
Symptoms
Unable to open Horde or Roundcube webmail:
The requested URL /roundcube/index.php was not found on this server.
Apache Server at webmail.example.com Port 80
or:
404 page not found
Configuration file for webmail is missing:
# httpd -S | grep "/example.com"
port 7080 namevhost example.com (/etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf:114)
port 7081 namevhost example.com (/etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf:10)
Syntax OK
Apache configuration file /etc/httpd/conf.d/zz010_psa_httpd.conf (for CentOS, RedHat, CloudLinux) or /etc/apache2/conf-enabled/zz010_psa_httpd.conf (for Debian, Ubuntu) may not contain include directive for webmail:
grep -r IncludeOptional /etc/httpd/conf.d/zz010_psa_httpd.conf | grep webmail
Cause
Misconfiguration of the webserver.
Resolution
1.Connect to the server using SSH
2. If /etc/httpd/conf.d/zz010_psa_httpd.conf does not contain include directive for webmail, add it:
3. Open /etc/httpd/conf.d/zz010_psa_httpd.conf file in any text editor, for example, vi:
vi /etc/httpd/conf.d/zz010_psa_httpd.conf
4. Insert the following line in the end of the file:
IncludeOptional '/etc/httpd/conf/plesk.conf.d/webmails/*.conf'
If the server is Debian or Ubuntu, insert the following line in /etc/apache2/conf-enabled/zz010_psa_httpd.conf file:
IncludeOptional '/etc/apache2/plesk.conf.d/webmails/*.conf
5.Run website reconfiguration to re-generate configuration files for webmail:
# plesk repair web example.com