• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

How do I access Horde webmail via https://domain.com/webmail ?

rutp

New Pleskian
I am using Plesk 9.5 and 9.2.
I need to use own SSL for that domain.

I have tried in this link http://forum.parallels.com/showthread.php?t=72717&highlight=ssl+horde
But cannot fix it.


I my way, I have created a new file in /etc/httpd/conf.d/z_test.conf like this

<IfModule mod_ssl.c>
<VirtualHost 203.170.50.103:443>

ServerName domain.com:443
ServerAlias www.domain.com
ServerAdmin [email protected]

Include /etc/psa-webmail/horde/conf.d/*

UseCanonicalName Off

DocumentRoot /usr/share/psa-horde
DocumentRoot /etc/psa-webmail/horde/conf.d/

Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
Alias /webmail /usr/share/psa-horde/imp/
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /etc/httpd/conf/httpd.pem
CustomLog /tmp/access_ssl_log plesklog
ErrorLog /tmp/error_log


<Directory /usr/share/psa-horde>

<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off

php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa/webmail/horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
</IfModule>

<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off

php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa/webmail/horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
</IfModule>

SSLRequireSSL

Order allow,deny
Allow from all
</Directory>
</VirtualHost>


But when I access to any webpage under https://domain.com/ such as https://domain.com/test.php it will always redirect to https://domain.com/webmail

I think may be something wrong on this

ServerName domain.com:443
ServerAlias www.domain.com

How can I set ServerName and ServerAlias like this domain.com/webmail?

Thanks for advance.
 
Include /etc/psa-webmail/horde/conf.d/*

maybe this is your problem add comment or delete and try again i think...
 
and you use double

DocumentRoot /usr/share/psa-horde
DocumentRoot /etc/psa-webmail/horde/conf.d/

i think second is not necassary ..
 
Back
Top