Disabling a domain in Plesk fails with:
PLESK_ERROR: AH00526: Syntax error on line 38 of /etc/apache2/plesk.conf.d/webmails/example.com_webmail.conf: DocumentRoot takes one argument, Root directory of the document tree . Detailed error descriptions were sent to you by email.
Webmail for a domain is set to None in Domains > example.com > Mail Settings, but apache’s configuration contains data as if Roundcube or Horde webmail is enabled for a domain:
# cat /etc/httpd/conf/plesk.conf.d/webmail/example.com_webmail.conf
Alias /horde/ “/”
Horde webmail was installed previously and then removed.
- #PPPM-12984 “Disabling a domain whose webmail service was uninstalled no longer generates an incorrect webmail configuration.”
- Plesk Obsidian 08 June 2021 (Linux)
Please consider updating your server:
If update is not possible for some reason, you may try the following
As a workaround:
Connect to the server via SSH
Install Horde back using Plesk Installer:
# plesk installer add –components horde
Repair web-server configuration with the command:
# plesk repair web -y