HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   How to redirect webmail (

jysse 18th May 2009 12:43

How to redirect webmail
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

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/ it does not work but gives me Error 500



till 18th May 2009 14:51

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

jysse 19th May 2009 13:34

[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 ?


falko 19th May 2009 15:55

Is FollowSymlinks enabled for that vhost?

jysse 19th May 2009 18:11

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

All times are GMT +2. The time now is 06:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.