• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Change Horde from webmail.domain.tld to www.domain.tld/webmail/

hophop

New Pleskian
Hi THere,

I cannot get horde to work (plesk 12 on ubuntu 14) on www.domain.tld/webmail (default is webmail.domain.tld)
- created a folder in usr/local/psa/admin/conf/templates/custom
- copied the domainWebmail.php.
- Changed the parameter so i would go to the url i wanted.
- then run : /usr/local/psa/admin/bin/httpdmng --reconfigure-all
- restarted apache2

no go, is there another thing i must do ? (Additional directives?)
Hope some can help me with this.

thanks in advance
 
the custom/domainWebmail.php i changed to this:

<?php echo AUTOGENERATED_CONFIGS; ?>

<?php /** @var Template_VariableAccessor $VAR */ ?>
<?php
if (!$VAR->domain->webmailActive) {
echo "# Domain is disabled or suspended\n";
return;
}
?>
ServerAlias "www.<?php echo $VAR->domain->asciiName ?>/webmail/"
<?php foreach ($VAR->domain->mailAliases AS $alias): ?>
ServerAlias "www.<?php echo $alias->asciiName ?>/webmail/"
<?php endforeach; ?>
 
Thanks @IgorG for the response.
I didn't modified the nginx file, so changed both of the files.

Then i created a symbolic link ---> ln -s /usr/share/psa-horde/ /var/www/vhosts/domain.tld/httpdocs/webmail

When i go to www.domain.tld/webmail/ the site jumps back to www.domain.tld/login.php

Als when i go to www.domain.tld/webmail/login .php i get the login screen, but after login, its redirecting me automatic to http://www.domain.tld/login.php

Its working but not redirecting document root for horde

Tryed this with no luck:

Alias /webmail /usr/share/psa-horde
<Directory /usr/share/psa-horde>
Order allow,deny
Allow from all
Options +FollowSymLinks - SymLinksIfOwnerMatch
</Directory>


Pretty newbie and clueless sorry!

thanks



 
Last edited:
An Update:

Changed the following file: /usr/share/psa-horde/config/registry.php and added the following:
$this->applications = array(
'horde' => array(
'initial_page' => 'services/portal/index.php',
'name' => _("Horde"),
'provides' => 'horde',
'webroot' => '/webmail',

Also changed the directives to:

Alias /webmail /var/www/vhosts/domain.tld/httpdocs/webmail/

<Directory /var/www/vhosts/domain.tld/httpdocs/>
Order allow,deny
Allow from all
Options +FollowSymLinks -SymLinksIfOwnerMatch
</Directory>

Now the login page is showing...still cant figure out why I can't loggin suddenly. (no log files filled and my email is as admin defined in the config)
 
Back
Top