Received: (qmail 10807 invoked by uid 501); 17 Aug 2000 16:42:41 -0000 Message-Id: <20000817164241.10805.qmail@locus.apache.org> Date: 17 Aug 2000 16:42:41 -0000 From: Juman Byun Reply-To: olbyun@hotmail.com To: submit@bugz.apache.org Subject: suexec doesn't run in the specified docroot. X-Send-Pr-Version: 3.110 >Number: 6424 >Category: suexec >Synopsis: suexec doesn't run in the specified docroot. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: mistaken >Submitter-Id: apache >Arrival-Date: Thu Aug 17 09:50:00 PDT 2000 >Closed-Date: Thu Aug 17 10:09:10 PDT 2000 >Last-Modified: Thu Aug 17 10:09:10 PDT 2000 >Originator: olbyun@hotmail.com >Release: 1.3.12 >Organization: >Environment: Linux kernel 2.2.14 egcs-2.91.66 >Description: if we specify --suexec-docroot=DocRoot, whenever Apache executes something in DocRoot, it should be SUEXECed but actually, not. >How-To-Repeat: ./configure --prefix=/home/apache --enable-suexec --suexec-docroot=/home/clubtest while DocumentRoot "/home/clubtest" in /home/apache/conf/httpd.conf and user1's home is /home/clubtest/user1 http://myserver/~user1/ls.sh.cgi is SUEXECed http://myserver/user1/ls.sh.cgi is NOT SUEXECed, though it should be the hierarchy (aside from UserDirs) that can be used for suEXEC behavior. >Fix: I have no idea for now. >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Thu Aug 17 10:09:09 PDT 2000 State-Changed-Why: There are two issues here. The configuration in suexec that you talk about simply tells it that it _can_ execute things in that docroot. As per the docs, it will not use suexec for non-userdir things unless you have a "user"/"group" directive in the vhost they are being executed for. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]