Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th July 2009, 21:51
NdK NdK is offline
Member
 
Join Date: Jul 2009
Location: Bologna, ITA
Posts: 36
Thanks: 1
Thanked 3 Times in 1 Post
Default Small bugs in 3.0.1.3

Hello.

I think I've found some bugs in default setup (and couldn't find them listed anywhere):
- missing "ln -s /usr/share/phpmyadmin /var/www/phpmyadmin"
- extra \ at line 32 of /usr/local/ispconfig/server/conf/bash.bashrc.master (with it ssh users see literal $USER@.. instead of username@...)
- missing /var/www/clients/clientX/webY/.htpasswd_stats -- without it, accessing /stats/ gives a "500 internal server error" after asking for auth

Another thing I did is adding "-c ~/php.ini" to exec line of /usr/local/ispconfig/server/conf/php-fcgi-starter.master (the file in PHPRC *should* get used if user doesn't put a php.ini in his home). Maybe it should be configurable on an host-by-host or client-by client basis, together with number of childs to spawn for each fastcgi user.

Hope it can help others.
Reply With Quote
Sponsored Links
  #2  
Old 3rd August 2009, 09:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Quote:
- missing "ln -s /usr/share/phpmyadmin /var/www/phpmyadmin"
Which Linux distribution?

Quote:
- extra \ at line 32 of /usr/local/ispconfig/server/conf/bash.bashrc.master (with it ssh users see literal $USER@.. instead of username@...)
http://bugtracker.ispconfig.org/index.php?do=details&task_id=826&project=3&type[0]=1&sev[0]=&pri[0]=&due[0]=&cat[0]=&status[0]=open&percent[0]=&reported[0]=

Quote:
- missing /var/www/clients/clientX/webY/.htpasswd_stats -- without it, accessing /stats/ gives a "500 internal server error" after asking for auth
It gets created as soon as you enter a password for the statistics.

Quote:
Another thing I did is adding "-c ~/php.ini" to exec line of /usr/local/ispconfig/server/conf/php-fcgi-starter.master (the file in PHPRC *should* get used if user doesn't put a php.ini in his home). Maybe it should be configurable on an host-by-host or client-by client basis, together with number of childs to spawn for each fastcgi user.
Be aware that this is dangerous as it might allow your clients to bypass restrictions by activating functions in php which they may not use or change settings like the open_basedir.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd August 2009, 12:35
NdK NdK is offline
Member
 
Join Date: Jul 2009
Location: Bologna, ITA
Posts: 36
Thanks: 1
Thanked 3 Times in 1 Post
 
Default

Quote:
Originally Posted by till View Post
Which Linux distribution?
Debian Lenny, installed following "perfect server" howto.

Quote:
Originally Posted by till View Post
It gets created as soon as you enter a password for the statistics.
Uh, ok. It was not clear to me even "where to set" the stats pass. I thought it by default used the same credentials as FTP.
And IMVHO it's "a bad thing" to have a "500 internal server error" if a password is not set. If it had been an "access denied", I'd have looked better in the panel to see where the pass was set.

Quote:
Originally Posted by till View Post
Be aware that this is dangerous as it might allow your clients to bypass restrictions by activating functions in php which they may not use or change settings like the open_basedir.
I know. Infact I was looking for a way to let the user override just some settings. But couldn't find any... Seems PHP doesn't allow "incremental config"
If all else fails, I'll have to give some "templates" and let users choose which is best for their needs... But even this is not (yet) supported.

PS: please don't take me wrong! I *really* appreciate ISPConfig... I just stumbled on some roughness as a complete newbie and tried to help others avoid it.
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
ISPConfig 3.0.1.3 released till General 45 2nd September 2009 13:54
Bugs admins Developers' Forum 3 28th May 2009 09:20
small web server supporting php and ssl martien Server Operation 5 1st January 2009 14:26
ISPC3 SVN bugs and comments skeldof Developers' Forum 12 31st October 2008 22:35
SAMBA (Domaincontroller) Server For Small Workgroups FrozenPixel HOWTO-Related Questions 7 1st August 2007 09:50


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


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