Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 29779 invoked from network); 23 Jan 2006 12:56:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 12:56:03 -0000 Received: (qmail 41235 invoked by uid 500); 23 Jan 2006 12:55:51 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 41226 invoked by uid 500); 23 Jan 2006 12:55:51 -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 41215 invoked by uid 99); 23 Jan 2006 12:55:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 04:55:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of victor@ambra.ro designates 212.146.124.5 as permitted sender) Received: from [212.146.124.5] (HELO mail.ambra.ro) (212.146.124.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 04:55:49 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.ambra.ro (Postfix) with ESMTP id BEE3E78BED for ; Mon, 23 Jan 2006 15:57:01 +0200 (EET) Received: from mail.ambra.ro ([127.0.0.1]) by localhost (mail68 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24563-02 for ; Mon, 23 Jan 2006 15:57:00 +0200 (EET) Received: from [192.168.250.56] (unknown [192.168.250.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ambra.ro (Postfix) with ESMTP id 482DA78BB2 for ; Mon, 23 Jan 2006 15:57:00 +0200 (EET) Message-ID: <43D4D218.6060908@ambra.ro> Date: Mon, 23 Jan 2006 14:54:48 +0200 From: Sterpu Victor User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <9B4E37DCB8D57D408FF960B536F0E52743305A@ms01012.avinci.de> <43D4CB42.3050504@ambra.ro> In-Reply-To: <43D4CB42.3050504@ambra.ro> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at ambra.ro X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: AW: [users@httpd] apache2 and suexec problem X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I compiled Apache/1.3.34 with suexec. This version is working. Sterpu Victor wrote: > I installed apache 2.2.0 and I have exactly the same problem. > It would be useful if someoune could confirm that apache 2 does not > work with suexec, so I could try a apache 1.3. > Or if someoane could say that apache 2 and suexec were tested an working. > > Oliver.Schaudt@unilog.de wrote: > >> has your /usr/sbin/suexes the appropriate rights with the sticky bit >> set. >> Like this >> -r-sr-xr-x 1 root root 31703 Dec 12 11:27 suexec >> >> If not, than you will get this with these commands >> >> chmod 4555 /usr/sbin/suexec >> chown root:root /usr/sbin/suexec >> >> bye >> >> Oliver >> >> ________________________________ >> >> Von: Sterpu Victor [mailto:victor@ambra.ro] >> Gesendet: Mo 23.01.2006 11:35 >> An: users@httpd.apache.org >> Betreff: Re: [users@httpd] apache2 and suexec problem >> >> >> >> >> Also when I start the apache I receive the following warning: "Warning: >> SuexecUserGroup directive requires SUEXEC wrapper."; >> Suexec binary is in /usr/sbin >> And apache is compiled with the option "SUEXEC_BIN="/usr/sbin/suexec". >> The command "httpd -V |grep -i suexec" prints " -D >> SUEXEC_BIN="/usr/sbin/suexec" >> I use Apache/2.0.54. >> >> >> Sterpu Victor wrote: >> >> >> >>> I have the following configuration. >>> >>> >>> DirectoryIndex index.html index.htm index.php index.php3 >>> ServerName suexec2.ambra.ro >>> SuexecUserGroup suexec2 suexec2 >>> DocumentRoot /var/www/suexec2.ambra.ro >>> Action application/x-httpd-php /cgi-bin/suexec2.ambra.ro/php-cgi >>> ScriptAlias /suexec2cgibin /var/www/suexec2.ambra.ro >>> Action application/x-httpd-php /suexec2cgibin/php-cgi >>> >>> Allow from all >>> >>> >>> >>> >>> Everything seems to work fine, but it doesn't. >>> In this virtual host I place a php file that creates a test.txt file. >>> >>> After the file is created owner of the file is the apache user and not >>> suexec2. >>> This meens that the line "SuexecUserGroup suexec2 suexec2" had no >>> effect and the script was executed as apache user. >>> What could be wrong? >>> >>> >>> >>> --------------------------------------------------------------------- >>> 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 >>> >>> >>> >> >> >> >> --------------------------------------------------------------------- >> 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 >> >> >> >> >> >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> 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 >> > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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