suPHP and Webalizer

Discussion in 'Installation/Configuration' started by Tjofras, Apr 25, 2009.

  1. Tjofras

    Tjofras New Member

    It seems that the cron job generating the stats-files is running as root. When i use suPHP i get a "Internal Server Errror" because suPHP in its default configuration will not change to a user with a PID lower then 100 (this is probably a good thing) and it will try to change to root.

    I would really like the files being generated in the stats/ folder to be owned by the user of that particular domain (web2 for example). Does anyone know of way to accomplish this?

    Shouldn't the default behavior be to generate the files with the owner set to the sites users rather then root?

    (I'm guessing you would run into similar problems with suExec, but haven't tested that)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There are no php files in the stats folder, so suphp is not involved in displaying them. The files are generated as root so that the normal user is not able to accidently delete them.

Share This Page