Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 35065 invoked from network); 3 Feb 2010 14:07:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 14:07:16 -0000 Received: (qmail 16142 invoked by uid 500); 3 Feb 2010 14:07:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 16100 invoked by uid 500); 3 Feb 2010 14:07:12 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 16091 invoked by uid 99); 3 Feb 2010 14:07:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 14:07:12 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of lists@itech7.com) Received: from [72.14.220.154] (HELO fg-out-1718.google.com) (72.14.220.154) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 14:07:01 +0000 Received: by fg-out-1718.google.com with SMTP id 22so251172fge.12 for ; Wed, 03 Feb 2010 06:06:40 -0800 (PST) Received: by 10.86.236.26 with SMTP id j26mr12491694fgh.77.1265206000368; Wed, 03 Feb 2010 06:06:40 -0800 (PST) Received: from ?192.168.1.254? ([121.246.205.20]) by mx.google.com with ESMTPS id e3sm17874695fga.26.2010.02.03.06.06.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Feb 2010 06:06:39 -0800 (PST) Message-ID: <4B6982E2.2090504@itech7.com> Date: Wed, 03 Feb 2010 19:36:26 +0530 From: Nilesh Govindarajan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091215 Shredder/3.0 MIME-Version: 1.0 To: users@httpd.apache.org References: <4B69122E.4090008@itech7.com> <034DEBCAE934A74991E6E76B8DA72D141884A192A7@HSSBS.holdstead.local> <4B691C75.3020208@itech7.com> <4B692817.8090407@antony.eu> In-Reply-To: <4B692817.8090407@antony.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] SuExec Okay, I have now a different setup. After a lot of researching on Google, I concluded that it is not possible to do what I wanted. 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///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 ? -- Nilesh Govindarajan Site & Server Adminstrator www.itech7.com --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org