From owner-freebsd-isp Mon Jul 29 1:50: 8 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 CC33A37B400 for ; Mon, 29 Jul 2002 01:50:04 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 959F843E42 for ; Mon, 29 Jul 2002 01:50:03 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Mon, 29 Jul 2002 16:52:49 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C46D@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-isp@FreeBSD.ORG Subject: suEXEC on FreeBSD Date: Mon, 29 Jul 2002 16:52:47 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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 Hi, 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