On Wed, Feb 3, 2010 at 10:03 AM, Thomas Antony <tho...@antony.eu> wrote:
> > > >> Now I have a common drupal codebase located at /srv/htdocs/drupal >> >> I am using this kind of setup - http://drupal.org/node/124268 >> >> Only difference being all user directories are at /srv/htdocs as suexec >> docroot is /srv. >> >> Now the problem is FastCGI. FastCGISuexec has been configured. >> >> at /srv/cgi-bin, a shell script called php-cgi (the wrapper) is there >> owned by www:www. >> >> When I want to execute php files in /srv/<user>/<site>/public/file.php >> then it suexec log says - "target uid/gid (500/500) mismatch with directory >> (501/501) or program (501/501)" >> >> 500 is the user, 501 is www. >> >> What's the solution for this ? >> >> > Hi, > > Maybe the documentation for suEXEC Security Model will help you. > http://httpd.apache.org/docs/2.2/suexec.html > > > Thomas > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > I understand the need for this but I just wanted to note that I've tried being a shell user in a suexec environment and it really sucks. Get ready for lots of support calls.