1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by rutp, Aug 3, 2010.

  1. rutp

    rutp New Pleskian

    15
    60%
    Joined:
    Jun 22, 2010
    Messages:
    4
    Likes Received:
    0
    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 admin@domain.com

    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.
     
  2. sosbilisim

    sosbilisim Basic Pleskian

    26
    23%
    Joined:
    May 25, 2007
    Messages:
    55
    Likes Received:
    0
    Include /etc/psa-webmail/horde/conf.d/*

    maybe this is your problem add comment or delete and try again i think...
     
  3. sosbilisim

    sosbilisim Basic Pleskian

    26
    23%
    Joined:
    May 25, 2007
    Messages:
    55
    Likes Received:
    0
    and you use double

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

    i think second is not necassary ..
     
  4. rutp

    rutp New Pleskian

    15
    60%
    Joined:
    Jun 22, 2010
    Messages:
    4
    Likes Received:
    0
Loading...