How to redirect webmail

Discussion in 'Installation/Configuration' started by jysse, May 18, 2009.

  1. jysse

    jysse New Member

    Using Debian Lenny and Ispconfig 3.

    Server is working fine but there this little detail that I don't manage to work out.
    What to do to get webmail working for different domains ?
    I can log in with address http://servers-ip-address/webmail but not with a domain address like http://mydomain.com/webmail

    There is link in /var/www (webmail -> /usr/share/squirrelmail/) which works fine but if I try to do a same kind of link in /var/www/mydomain.com/web it does not work but gives me Error 500

    Thanks,

    Jysse
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you get an error, then look into the error.log to get the exact reason for it.
     
  3. jysse

    jysse New Member

    [Tue May 19 13:26:54 2009] [error] [client xx.xx.xx.xx] SoftException in Application.cpp:202: Script "/var/www/clients/client1/web9/web/webmail/index.php" resolving to "/usr/share/squirrelmail//index.php" not within configured docroot
    [Tue May 19 13:26:54 2009] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php

    I found this from error.log

    Can you help me with this one ?

    Thanks,
    Jysse
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is FollowSymlinks enabled for that vhost?
     
  5. jysse

    jysse New Member

    Yes, it was enabled. After all, I did not change anything but restarted Apache and it started working !
    Anyway, thanks for your help.
     

Share This Page