#1  
Old 25th April 2009, 02:35
Tjofras Tjofras is offline
Junior Member
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default suPHP and Webalizer

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)
Reply With Quote
Sponsored Links
  #2  
Old 25th April 2009, 12:12
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,488
Thanks: 835
Thanked 5,525 Times in 4,346 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
stats, suphp, webalizer

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


All times are GMT +2. The time now is 19:04.


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