#1  
Old 9th January 2012, 15:30
trexen trexen is offline
Senior Member
 
Join Date: Jun 2008
Location: Stockholm
Posts: 169
Thanks: 15
Thanked 3 Times in 2 Posts
Smile Roundcube issue redirect

Hi,

Got tha latest ISPC and i change from Squirrelmail to roundcube, but when i create a new site and the try to connect to www.customersdomain.com/webmail i get "ERROR 500 - Internal Server Error!"

is there any solution that i can do so all site a add get a rewrite or what it called and have /webmail after there domain.com ?



Another question:
is there any tutorial ore best practce to migrate from ISPC v2 to v3
i got lost of Joomla installations and wordpress.

Regards
Marcus
Reply With Quote
Sponsored Links
  #2  
Old 9th January 2012, 18:47
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,010
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Take a look at the error.log of the affeted website and post the exact error message from there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th January 2012, 18:50
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
Default

Please tail your Apache log for the site in question, e.g.:

Quote:
tail -f -n 30 /var/www/example.com/log/error.log
and see what message is logged when you navigate to the webmail URL and post the contents here.

Quote:
is there any solution that i can do so all site a add get a rewrite or what it called and have /webmail after there domain.com ?
Yes. You can add something like the following to /etc/apache2/httpd.conf:

(comment-out the rewrite rules if you don't have SSL enabled on the domain)

Code:
Alias /webmail /usr/share/roundcube
<Location /webmail>
Order allow,deny
allow from all
# Require SSL for Webmail.
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
<IfModule suphp_module>
  suPHP_Engine Off
  AddHandler php5-script	.php
</IfModule>
php_admin_value open_basedir "/usr/share/php:/etc/roundcube/:/usr/share/roundcube:/var/log/roundcube:/var/lib/roundcube"
</Location>
Quote:
is there any tutorial ore best practce to migrate from ISPC v2 to v3
Have you searched these forums, or the Web in general yet?
Reply With Quote
The Following User Says Thank You to cbj4074 For This Useful Post:
trexen (10th January 2012)
  #4  
Old 10th January 2012, 11:29
trexen trexen is offline
Senior Member
 
Join Date: Jun 2008
Location: Stockholm
Posts: 169
Thanks: 15
Thanked 3 Times in 2 Posts
Default

Sorry for waisting your time, i was playing whit "http://bugs.web-wack.at/projects/isp3-roundcube/documents" to get the plugins working.

no luck

I installed the roundcube under /var/www/webmail directly acording to a howto om howtoforge and not under /usr/share/roundcube

i dont user https://

the /etc/apache2/httpd.conf code wont work in my case, should i reinstall roundcube and get it correct installed?
I only got 1 user in the new system and its ok.

thanks
Reply With Quote
  #5  
Old 10th January 2012, 17:05
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 395
Thanks: 30
Thanked 58 Times in 50 Posts
 
Default

Quote:
Originally Posted by trexen View Post
Sorry for waisting your time, i was playing whit "http://bugs.web-wack.at/projects/isp3-roundcube/documents" to get the plugins working.
That's okay, it's not a waste of anyone's time.

I wouldn't bother with the Roundcube plug-in for ISPConfig until you have Roundcube working on its own.

It's okay if you installed Roundcube to a different location. You just need to modify the paths in your Apache configuration accordingly.

However, I recommend that you remove Roundcube from /var/www/webmail and instead use your operating system's package manager to install Roundcube. If you are using Debian (includes Ubuntu), you would simply run the following command:

Code:
apt-get install roundcube
The primary reason I suggest this is that I don't know which directories to tell you to add to PHP's open_basedir directive in the Apache configuration. If you use the package manager to install Roundcube, you should be able to cut-and-paste from the configuration I've provided.

If you don't use SSL on your server, you should. Even if you use a self-signed certificate, that is much better than no certificate at all.

If you can't or won't for whatever reason, then simply remove those lines from the configuration:

Code:
Alias /webmail /var/www/webmail
<Location /webmail>
Order allow,deny
allow from all
<IfModule suphp_module>
  suPHP_Engine Off
  AddHandler php5-script	.php
</IfModule>
php_admin_value open_basedir "/usr/share/php:/etc/roundcube/:/var/www/roundcube:/var/log/roundcube:/var/lib/roundcube"
</Location>
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
redirect loop issue lezelf Server Operation 4 13th October 2011 10:16
HTTPS redirect issue rocker2344 Installation/Configuration 2 31st March 2011 20:31
New feature request: Frame redirect funtion for ISPConfig3 Hans Feature Requests 1 12th January 2011 01:43
RoundCube Webmail "AllowOverride Options" Location fdsg72-lux Installation/Configuration 1 13th November 2008 13:25
phpmyadmin redirect issue yonkman Installation/Configuration 1 7th August 2008 10:30


All times are GMT +2. The time now is 16:03.


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