#1  
Old 21st December 2012, 11:36
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Roundcube error 500

hey guys,
I've recently ported from SME Server to ubuntu, and installed Ispconfig 3 following the tutorial for the Perfect Server... All worked out perfectly untill i wanted to update and keep squirrelmail to roundcube. Followed the tutorial all worked good for the main domain, but, when i try to add a secondary one in ISPconfig, when i check try to access the domains webmail, it says error 500

Now the config : /etc/apache2/conf.d/roundcube.conf

Code:
Alias /webmail /var/www/webmail
<Directory /var/www/webmail>
  Options +FollowSymLinks Indexes
  # This is needed to parse /var/www/webmail/.htaccess. See its
  # content before setting AllowOverride to None.
  AllowOverride All
  order allow,deny
  allow from all
</Directory>
# Protecting basic directories:
<Directory /var/www/webmail/config>
        Options -FollowSymLinks
        AllowOverride None
</Directory>
<Directory /var/www/webmail/temp>
        Options -FollowSymLinks
        AllowOverride None
        Order allow,deny
        Deny from all
</Directory>
<Directory /var/www/webmail/logs>
        Options -FollowSymLinks
        AllowOverride None
        Order allow,deny
        Deny from all
</Directory>
The outcome of the error log from /var/log/isconfig/httpd/www.domain2.com/error.log

Code:
[Fri Dec 21 12:16:21 2012] [error] [client xxx.xxx.xxx.xxx] SoftException in Application.cpp:221: File "/var/www/webmail/index.php" is not in document root of Vhost "/var/www/amcinromania.ro/web"
[Fri Dec 21 12:16:21 2012] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
So from this, i get it is not the docroot... but then why does the alias is for ?
Also if i try to take a look at other configs... just to copy paste the redirect code, the manual ( the apache one ) works perfectly on both domains meening www.domain.com/manual and www.domain2.com/manual .
Also the squirrel works well too... why ??? The config is almost the same !!!

Thanks ppl

Last edited by fbsoft; 21st December 2012 at 11:39.
Reply With Quote
Sponsored Links
  #2  
Old 22nd December 2012, 15:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Do you use SuExec or suPHP? If so, please disable it/use another PHP mode.
__________________
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
  #3  
Old 2nd January 2013, 18:22
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

thanks and sry for the late reply, i was on a lil bit gone for these holidays.

I use suexec of course but for the other domains not for roundcube config...
Now the idea is why does it work on the primary domain that uses as suexecusergroup web1 client1 and not for the second domain, web2 client2
How can i make it work on both domains... with the respective simlinks / aliases
thanks
Reply With Quote
  #4  
Old 2nd January 2013, 18:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
Default

Quote:
How can i make it work on both domains... with the respective simlinks / aliases
use mod_php for roundcube like falko suggested. Take a look at the perfect server guides, they contain a chapter at the end that explains how to configure squirrelmail to use mod_php, the configuration for roundcube is similar.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
fbsoft (3rd January 2013)
  #5  
Old 3rd January 2013, 00:18
fbsoft fbsoft is offline
Junior Member
 
Join Date: Dec 2012
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Niiiiiiice, thanks guys, it worked, can be closed and marked as solved,
P.S. For those who will read this, everything works perfectly on a Ubuntu Server 12.10 and Roundcube ver 0.8.4, and squirrelmail included.
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 I saved my RoundCube users emails cvgeeks Server Operation 1 11th July 2012 05:08
How to upgrade Roundcube 0.3 to 0.7 on Ubuntu 10.04 LTS cbj4074 Tips/Tricks/Mods 1 19th January 2012 19:50
HOWTO: Replace Squirrelmail for Roundcube on ISPConfig 3 for Debian Lenny Romoku Tips/Tricks/Mods 4 31st December 2011 16:30
403 errors & freezing in ispconfig3, roundcube webmail cvgeeks Server Operation 5 26th June 2011 00:35
ISPConfig 3 & Roundcube atjensen11 Installation/Configuration 11 3rd September 2009 19:51


All times are GMT +2. The time now is 08:11.


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