HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   How to redirect webmail (http://www.howtoforge.com/forums/showthread.php?t=35101)

jysse 18th May 2009 11: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 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

till 18th May 2009 13:51

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

jysse 19th May 2009 12: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 ?

Thanks,
Jysse

falko 19th May 2009 14:55

Is FollowSymlinks enabled for that vhost?

jysse 19th May 2009 17: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 08:25.

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