View Single Post
Old 08-17-2009, 10:34 PM   #1
Junior Member
 
Join Date: Aug 2009
Posts: 17
unksi is on a distinguished road
Default Apache suexec problem

This is on a FreeBSD 7.2 system with Apache 2.2.11 and PHP 5.2.10.

What is tried to set up, is a virtual host to Apache, serving pages for a set domain with dropped user privileges for the user owning the site.

When set up from ISPmanager, it creates a config that looks valid, and the website works right when accessed from the set domain. However, it does not drop the privileges to the user, but stays executed as as user 'www' as set in the system-wide config.

In the virtualhost config, it is set as 'SuexecUserGroup user group', which seems right to me. However, Apache is not able to access/write the files unless those rights are set for everyone, not just the user/group. Phpinfo() also indicates that the virtual host is run as www/www.

The Apache suexec logfile also does not indicate that any of the setup virtual hosts have been suexec'd.

Any ideas on this?
unksi is offline   Reply With Quote