Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 90425 invoked by uid 500); 25 Nov 2002 23:10:19 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 90414 invoked from network); 25 Nov 2002 23:10:19 -0000 Received: from babel.serve.com (207.106.76.75) by daedalus.apache.org with SMTP; 25 Nov 2002 23:10:19 -0000 Received: by babel.serve.com (Postfix, from userid 500) id 91BB42466E; Mon, 25 Nov 2002 18:10:18 -0500 (EST) Date: Mon, 25 Nov 2002 18:10:18 -0500 From: Josh Marcus To: users@httpd.apache.org Message-ID: <20021125181018.C1832@babel.serve.com> References: <20021125175320.A1832@babel.serve.com> <20021126100015.J13838@cryptocracy.com> <20021125180603.B1832@babel.serve.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021125180603.B1832@babel.serve.com>; from josh@babel.serve.com on Mon, Nov 25, 2002 at 06:06:03PM -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] User cannot occur within section To make sure everything was copasetic in terms of having suexec installed, I ran a little perl cgi which printed out the uid/gid the cgi was ran as and ran it under a user homedir and it the uid/gid reflected the user -- so suexec is definitely working in the normal case, but not in the VirtualHost case. --j On Mon, Nov 25, 2002 at 06:06:03PM -0500, Josh Marcus wrote: > I *think* I have suexec enabled. Here's the output of httpd -l, > which shows it. Any further advice? --j > > [root@shiraz bin]# ./httpd -l > Compiled in modules: > core.c > mod_access.c > mod_auth.c > mod_include.c > mod_log_config.c > mod_env.c > mod_expires.c > mod_setenvif.c > mod_proxy.c > proxy_connect.c > proxy_ftp.c > proxy_http.c > mod_ssl.c > prefork.c > http_core.c > mod_mime.c > mod_status.c > mod_autoindex.c > mod_asis.c > mod_info.c > mod_suexec.c <-- *** here we go *** > mod_cgi.c > mod_vhost_alias.c > mod_negotiation.c > mod_dir.c > mod_imap.c > mod_actions.c > mod_speling.c > mod_userdir.c > mod_alias.c > mod_rewrite.c > mod_so.c > > --j > On Tue, Nov 26, 2002 at 10:00:15AM +1100, Zac Stevens wrote: > > On Mon, Nov 25, 2002 at 05:53:20PM -0500, Josh Marcus wrote: > > > I'm trying to use a User directive within a VirtualHost configuration under > > > my new apache 2.0.x installation. I'm getting: > > > > > > User cannot occur within section > > > > > > ... what do I need to do to enable this? My configuration worked fine under > > > 1.3.x. Has suexec/httpd's behavior changed? > > > > Sounds like you just don't have suexec enabled. Does the output of > > 'httpd -l' include anything to indicate that it is? It should say > > something along the lines of: > > > > suexec: enabled; valid wrapper /usr/local/apache/bin/suexec > > > > (although the actual path will vary depending upon where you have it > > installed) > > > > HTH, > > > > > > Zac > > > > --------------------------------------------------------------------- > > 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