View Single Post
  #1  
Old 6th October 2005, 21:35
BenDaDon BenDaDon is offline
Junior Member
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php with Apache rights, not vhost rights

Hello guys,
i've a big problem:
All my PhpScripts are running under Apache2 Rights, like wwwrun.
So Typo3 (the php script) creates files under the username wwwrun.
i would like to have the same username and -group like the virtualhost.
I think Suexec doesnt work correct.
What to do?
suexec2 -V:
Code:
-D AP_DOC_ROOT="/srv/www"
 -D AP_GID_MIN=96
 -D AP_HTTPD_USER="wwwrun"
 -D AP_LOG_EXEC="/var/log/apache2/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=96
 -D AP_USERDIR_SUFFIX="public_html"
That's not really the DOC ROOT which i use...!
But to change this, i have to compile it ( man suexec2 ).
So whats the solution ?
Guys i count on you....
Reply With Quote
Sponsored Links