ISPConfig Configuration For SquirrelMail To Run Under SSL

Discussion in 'Installation/Configuration' started by mroppolo, Jul 22, 2012.

  1. mroppolo

    mroppolo New Member

    Hello all -

    I'm finalizing my Debian Squeeze installation using "The Perfect Server - Debian Squeeze (Debian 6.0) With BIND & Dovecot [ISPConfig 3]" (instructions by Falco).

    My problem is configuring SquirrelMail to run under SSL as a subdomained site in ISPConfig:

    I have configured 2 websites:
    /var/www/clients/client0/www/web1 is for www.myurl.com
    /var/www/clients/client0/www/web2 is for mail.myurl.com

    I first created a new site in ISPConfig, then manually installed SquirrelMail in the ../www/web2 directory.
    http://mail.myurl.com --> works !
    https://mail.myurl.com --> displays the default ISPConfig Home page

    Any help would be appreciated !

    Thanks !
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you create a ssl cert in the website mail.myurl.com and is ssl enabled for that site? Also ensure that you selcted the IP address in the ipv4 field and not * for both websites.
     
  3. mroppolo

    mroppolo New Member

    I discovered that I didn't enable SSL on the mail website. Mea culpa !

    The only other change I made was modifying the header command in the index.php page to this:
    header('Location: ./src/login.php'); // added "./" so the reference is correct.

    One final related question: Now all subdomain references go to my mail website. ie:

    http://www1.mysite.com --> redirects to http://mail.mysite.com
    http://junk.mysite.com --> redirects to http://mail.mysite.com
    http://mysite.com --> redirects to http://mail.mysite.com

    I'd like them to redirect to my main website http://www.mysite.com

    Can anyone provide some assistance ?

    Thanks !
     
    Last edited: Jul 24, 2012

Share This Page