Thread: apache user
View Single Post
  #3  
Old 27th April 2006, 10:22
rbartz rbartz is offline
Member
 
Join Date: Apr 2006
Posts: 80
Thanks: 9
Thanked 6 Times in 5 Posts
Default

Thank you Till.

It looks like suExec is my solution as all the scripts we would want to run are uploaded with FTP and owned by each site user and group.

Will it work simply by turning it "on" with the checkbox in ispConfig? I read somwehere that the webs would have to be in /var/www for suExec to work, but we already have live sites in /home/www. If so, can this be worked around by recompiling suExec to use /home/www instead of /var/www? What should be the USERDIR suffix, if any?

Would this affect later ispConfig updates or apg-get updates?

Thanks again!

# /usr/sbin/suexec -V
-D AP_DOC_ROOT="/var/www"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="apache"
-D AP_LOG_EXEC="/var/log/httpd/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=500
-D AP_USERDIR_SUFFIX="public_html"
Reply With Quote