Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th May 2010, 01:53
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
Default enable webmail/roundcube for a new ip/ssl.

Hi there,
I've just bought a ssl certificat for a domain.org. For this domain, I have a new ip address that I added and configured in ispconfig interface.
Everything works fine for this website except for the squirrelmail link (webmail) and roundcube that I installed before.
I fall on a page "No input file specified."

All the other websites can access squirrelmail and roundcube by this way :
http://otherwebsite.org/webmail
or http://otherwebsite.org/roundcube
or the same with https.

Do you have an idea about this new ssl/ip domain ?

Thanks a lot !
Reply With Quote
Sponsored Links
  #2  
Old 16th May 2010, 09:49
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

where on your server did you install your webmail clients?
I think you have to add that locations to the OpenBasDir restriction field in ISPConfig for your website wich has its own IP.
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
The Following User Says Thank You to Hans For This Useful Post:
yoplait (16th May 2010)
  #3  
Old 16th May 2010, 12:17
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
Default

I used aptitude to install roundcube. Squirrelmail was already installed (this is the OVH installation).
I found roundcube there : /var/www/roundcube
and squirrelmail here : /usr/share/squirrelmail
but I can't find where the links between websites and theses folder are.

By the way, the problem is the same for phpmyadmin, except that I have a phpmyadmin page with a lot of errors, like :
Quote:
Warning: include() [function.include]: open_basedir restriction in effect. File(/etc/phpmyadmin/config.header.inc.php) is not within the allowed path(s): (/var/www/clients/client[client_id]/web22/web:/var/www/clients/client[client_id]/web22/tmp:/var/www/domain.org/web:/srv/www/domain.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin) in /usr/share/phpmyadmin/config.header.inc.php on line 6
I think you're right, but how must I do that ?
I'll try to search in that way...

edit : ok, I put the roundcube folder in the "opendir" field of ispconfig interface and it works !
But for squirrelmail, I have this :
Quote:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(config/config.php) is not within the allowed path(s): (/var/www/clients/client[client_id]/web22/web:/var/www/clients/client[client_id]/web22/tmp:/var/www/domain.org/web:/srv/www/domain.org/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/var/www/roundcube:/usr/share/squirrelmail) in /usr/share/squirrelmail/index.php on line 15

ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.
After that, I wanted to add the config folder, but the field is limited and I can't anything else...
(And I can't do anything for phpmyadmin... )
Any Idea ?

Last edited by yoplait; 16th May 2010 at 12:27.
Reply With Quote
  #4  
Old 17th May 2010, 10:54
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
Default

Did I mistake something ?
Is there a simple way to configure a new IP address ? with a new SSL domain ?
Reply With Quote
  #5  
Old 18th May 2010, 10:49
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

For Squirrelmail , please add the code
Code:
:/usr/share/squirrelmail:/usr/share/phpmyadmin
within ISPConfig3 in the OpenBaseDir field.

And for RoundCube add:
Code:
:/var/www/roundcube:/usr/share/phpmyadmin
within ISPConfig3 in the OpenBaseDir field.
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
The Following User Says Thank You to Hans For This Useful Post:
sharkey (9th November 2012)
  #6  
Old 18th May 2010, 23:12
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
Default

As I said in my previous message, this things are already added in the open_basedir field. I added it, as you say, in the ispconfig interface...
Do I need to had the /etc/phpmyadmin folder too ? and /usr/share/squirrelmail/config ?

Why don't other website need that ?
Reply With Quote
  #7  
Old 19th May 2010, 00:00
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
Default

I don't know if it's the same problem, but since I put the SSL certificat on this domain, the wiki on this domain is now in readonly while the rights on the files haven't changed...

I can't understand what the changes could be, just because I changed IP address and SSL certificat for this domain... Could it be a firewall problem ?

Thanks for your help ...

edit : moreover, I can't access munin by this domain now... I'm sure I didn't understand something...but what ?

Last edited by yoplait; 19th May 2010 at 00:24.
Reply With Quote
  #8  
Old 19th May 2010, 15:34
yoplait yoplait is offline
Senior Member
 
Join Date: Dec 2009
Posts: 144
Thanks: 50
Thanked 14 Times in 11 Posts
 
Default

I had the folders in the field, and it works ... Thanks hans !
Reply With Quote
The Following User Says Thank You to yoplait For This Useful Post:
Hans (19th May 2010)
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
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 24th September 2008 00:58
PHP install problem SgtM Installation/Configuration 6 7th April 2007 18:45
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 12:31
Fedora Core 6 install issues moos3 Installation/Configuration 10 22nd March 2007 19:25
Another ERROR: The PHP binary coming with ISPConfig does not work properly on your sy hoopsx3 Installation/Configuration 2 29th January 2007 08:56


All times are GMT +2. The time now is 19:45.


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