site running with apache user

Discussion in 'General' started by buhlerax, Sep 2, 2013.

  1. buhlerax

    buhlerax New Member

    Good morning,
    There's like leaving a site running with apache user?
    thank you
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Sorry, but what's your question?
    How to make a website running as www user?
    If yes, simply change the php mode of this website to "mod-php" in ISPConfig.
     
  3. buhlerax

    buhlerax New Member

    Actually I think I expressed it poorly. In the mod-php as it runs www-apache.
    But users do not allow ssh and ftp I can upload files as user www-apache.
    How do I change the ftp and ssh to upload as www-apache.
    Having to make this change as admin, but I'm not ispconfig informs system administrator. This is an inconsistency.
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Anyway it is a very poor idea using mod-php... not only because of the problem you mentioned. Fast-CGI or FPM should be preferred.
    There is no way making your FTP upload as www-data if you are not admin of ISPConfig.
     
  5. buhlerax

    buhlerax New Member

    This is the problem! I am the administradore, I installed and configured the ispconfig. But ispconfig is not allowing me to do this.
     
  6. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    This cannot be done globally, you'd have to edit every single ftp user.
    SSH users cannot be changed to store files under www-data.
    On ftp there is a tab "options" where you could change the user and group.

    But really, you should switch to fast-cgi or fpm. Modphp is no good idea!
     
  7. buhlerax

    buhlerax New Member

    As administrator ispconfig if I try to change the path or userid, groupdid in ispconfig for ftp appears this:
    [​IMG]
     
  8. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

  9. buhlerax

    buhlerax New Member

    The patch worked perfectly.
    Now I can save files as user apache.
    thank you
     

Share This Page