#1  
Old 18th May 2009, 11:43
jysse jysse is offline
Member
 
Join Date: Aug 2005
Location: Laihia, Finland
Posts: 31
Thanks: 0
Thanked 3 Times in 1 Post
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 18th May 2009, 13:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

If you get an error, then look into the error.log to get the exact reason for it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th May 2009, 12:34
jysse jysse is offline
Member
 
Join Date: Aug 2005
Location: Laihia, Finland
Posts: 31
Thanks: 0
Thanked 3 Times in 1 Post
Default

[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
Reply With Quote
  #4  
Old 19th May 2009, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is FollowSymlinks enabled for that vhost?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th May 2009, 17:11
jysse jysse is offline
Member
 
Join Date: Aug 2005
Location: Laihia, Finland
Posts: 31
Thanks: 0
Thanked 3 Times in 1 Post
 
Default

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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to redirect mail.anydomain to the webmail vhost Ovidiu Tips/Tricks/Mods 15 17th September 2009 14:10
Pointing Webmail and Postfix Mail Server to Static IP Address need_a_linux_brain Installation/Configuration 0 12th May 2009 22:28
Webmail on port 80, ISPConfig on port 81 wonka Installation/Configuration 5 3rd March 2007 15:46
Redirect question {SERVERNAME} for webmail Herbert Installation/Configuration 15 15th January 2007 14:05
Redirect webmail page alex916 Installation/Configuration 1 22nd February 2006 14:36


All times are GMT +2. The time now is 22:28.


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