Small bugs in

Discussion in 'General' started by NdK, Jul 29, 2009.

  1. NdK

    NdK Member


    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 [email protected] instead of [email protected])
    - 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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution?[0]=1&sev[0]=&pri[0]=&due[0]=&cat[0]=&status[0]=open&percent[0]=&reported[0]=

    It gets created as soon as you enter a password for the statistics.

    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.
  3. NdK

    NdK Member

    Debian Lenny, installed following "perfect server" howto.

    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.

    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.

Share This Page