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 22nd December 2009, 20:14
papokergod papokergod is offline
Junior Member
 
Join Date: Jan 2009
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default 500 error squirellmail and phpmyadmin

First of all I would like to say it has been a while since my last visit here, but I am back again working on some stuff.

I followed the tutorial for Fedora 12 and ISPCONFIG 3.

after some fooling around trying to get the system to work the way I wanted to with ssl and such, I find out my webmail and phpmyadmin is not working the way I want.

When I access via IP webmail and phpmyadmin load fine without any errors except the crt warning.

When I load both domains that are set in ispconf that's when i get the 500 errors after the crt warning. This is only over https. Which I know is working correctly as I can access the html via both http and https without problems.

Examining the error log i find this:
Code:
[Tue Dec 22 12:49:16 2009] [error] [client 192.168.80.1] SoftException in Application.cpp:221: File "/usr/share/squirrelmail/index.php" is not in document root of Vhost "/var/www/clients/client1/web3/web"
[Tue Dec 22 12:49:16 2009] [error] [client 192.168.80.1] Premature end of script headers: index.php
[Tue Dec 22 12:49:16 2009] [error] [client 192.168.80.1] File does not exist: /var/www/error/500.html
[Tue Dec 22 13:05:48 2009] [error] [client 192.168.80.1] SoftException in Application.cpp:221: File "/usr/share/phpMyAdmin/index.php" is not in document root of Vhost "/var/www/clients/client1/web3/web"
[Tue Dec 22 13:05:48 2009] [error] [client 192.168.80.1] Premature end of script headers: index.php
[Tue Dec 22 13:05:48 2009] [error] [client 192.168.80.1] File does not exist: /var/www/error/500.html
I have ISPCONFIG set to control the website info for the domain that the server is set to. Took a while for me to figure out how to do it and load the correct crt's, but like I said its working the way I want except webmail and phpmyadmin over https. I have no doubt this is what caused the problem as during the tutorial it was working correctly.

As a side note once i get this working how would I redirect the http to https in phpmyadmin.

Thanks.

P.S. I am still a noobie with this as well.
Reply With Quote
Sponsored Links
  #2  
Old 23rd December 2009, 13:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Do you use PHP via mod_php, cgi, fcgi or suphp in this website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd December 2009, 16:29
papokergod papokergod is offline
Junior Member
 
Join Date: Jan 2009
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

suphp for the whole server.
Reply With Quote
  #4  
Old 24th December 2009, 17:24
papokergod papokergod is offline
Junior Member
 
Join Date: Jan 2009
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

bump.I am still having issues with this.
Reply With Quote
  #5  
Old 25th December 2009, 13:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

There are two solutions:

1) The preferred solution: Dont use the phpmyadmin and squirrelmail from the linux distribution. They are installed in a shared place and you will have to deactivate a lot of security features to be able to access them from suphp. Instead create a website for phpmyadmin and install it into this website. same for squirrelmail.

2) Disable the vhots check in suphp.conf. But this is not recommended as it is a very valuable security feature, without that, poeple might be able to access files all over your server that are outside of their website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 25th December 2009, 15:48
papokergod papokergod is offline
Junior Member
 
Join Date: Jan 2009
Posts: 27
Thanks: 0
Thanked 1 Time in 1 Post
Default

so two different websites, made with ispconfig or outside of that? do i make them on the servers ip or two seperate domians? seperate httpd installs as well. not sure if I follow you.
Reply With Quote
  #7  
Old 26th December 2009, 11:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

You can create a new web site in ISPConfig and afterwards, you can manually install phpMyAdmin and SquirrelMail in that web site.
__________________
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
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
Phpmyadmin update error code 1? treavle Installation/Configuration 1 16th December 2009 14:35
ISPConfig 3 phpmyadmin webmail Servername error 500 qriz Installation/Configuration 2 28th September 2009 17:46
httpd and phpmyadmin recirect issue moglia Developers' Forum 5 11th August 2009 13:52
phpMyAdmin goes PHP5 & MySQL5 Hans General 5 28th September 2008 21:46
phpmyadmin problem on ubuntu mail server virtual domains almeister9 HOWTO-Related Questions 1 19th September 2008 17:52


All times are GMT +2. The time now is 13:43.


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