From owner-freebsd-isp Mon Jul 29 6:43: 5 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4657337B400 for ; Mon, 29 Jul 2002 06:43:01 -0700 (PDT) Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 83D1143E42 for ; Mon, 29 Jul 2002 06:43:00 -0700 (PDT) (envelope-from up@3.am) Received: (qmail 73950 invoked by uid 1825); 29 Jul 2002 13:42:57 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 29 Jul 2002 13:42:57 -0000 Date: Mon, 29 Jul 2002 09:42:57 -0400 (EDT) From: up@3.am X-Sender: up@richard2.pil.net To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: suEXEC on FreeBSD In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C46D@mailserver.dagupan.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Try something like this: AllowOverride all Options Indexes MultiViews ExecCGI IncludesNOEXEC Order allow,deny Allow from all On Mon, 29 Jul 2002 francisv@dagupan.com wrote: > I want to use suEXEC on our shared hosting space but I'm having problems > with the existing structure. suEXEC wouldn't run CGIs if they're not > directly under the DocumentRoot but we have: > > Domain.name > | > +-- README > +-- htdocs > +-- cgi-bin > +-- logs > > All .{s}html, .php, and all other files are in put in htdocs/ and all .cgi, > .pl files must reside under cgi-bin/. Here's our Apache configuration: > > > User username > Group clients > ServerAdmin webmaster@domain.org > DocumentRoot /usr/local/vhosts/domain.org/htdocs > ScriptAlias /cgi-bin/ "/usr/local/vhosts/domain.org/cgi-bin/" > ServerName www.domain.org > ErrorLog /usr/local/vhosts/domain.org/logs/error_log > CustomLog /usr/local/vhosts/domain.org/logs/access_log combined > > Options Indexes > AllowOverride None > > > Options Indexes > AllowOverride Limit AuthConfig > > > > --- > francis a. vidal [bitstop network services] | http://www.bitstop.ph > streaming media + web hosting | http://www.keystone.ph > v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message