Suexec

apache

Пересобрать apache с поддержкой suEXEC - WITH_APACHE_SUEXEC=yes       enable the suEXEC feature [default is no]

  SuexecUserGroup user1 group1 ServerName 1.site.com DocumentRoot /www/site/public  

Проверка  <? echo `whoami`; ?> 


 * http://httpd.apache.org/docs/1.3/suexec.html

Default suexec log (if compiled with suexec): /var/log/httpd-suexec.log

suEXEC wrapper, it will print the following message to the error log: | [notice] suEXEC mechanism enabled (wrapper: //path/to/suexec/) |