Hello guys,
I'm trying to change webmail URL too, but following the guide on
http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=68693.htm it doesn't work. Probably I'm missing something.
I just want to change http://webmail.<domain>.<ext> to http://vps.<domain>.<ext>/webmail
The operation seems to be quite simple:
1) created "custom" directory into /opt/psa/admin/conf/templates/default
2) copied domainWebmail.php into /opt/psa/admin/conf/templates/default/custom
3) changed domainWebmail.php to:
<?php echo AUTOGENERATED_CONFIGS; ?>
<?php /** @var Template_VariableAccessor $VAR */ ?>
<?php
if (!$VAR->domain->webmailActive) {
echo "# Domain is disabled or suspended\n";
return;
}
?>
ServerAlias "vps.<?php echo $VAR->domain->asciiName ?>/webmail"
<?php foreach ($VAR->domain->mailAliases AS $alias): ?>
ServerAlias "vps.<?php echo $alias->asciiName ?>/webmail"
<?php endforeach; ?>
4) rebuilt virtual hosts config with /usr/local/psa/admin/bin/httpdmng --reconfigure-all
but when I try to open the new URL, I get "[error] [client 2.x.x.x] File does not exist: /var/www/vhosts/default/htdocs/webmail"
Any ideas, please?
Thank you very much!