From owner-freebsd-questions Tue Dec 29 13:56:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17923 for freebsd-questions-outgoing; Tue, 29 Dec 1998 13:56:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wind.freenet.am ([194.151.101.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17910 for ; Tue, 29 Dec 1998 13:56:32 -0800 (PST) (envelope-from casper@acc.am) Received: from lemming.acc.am (acc.freenet.am [194.151.101.251]) by wind.freenet.am (8.9.1/8.9.1) with ESMTP id BAA17179; Wed, 30 Dec 1998 01:55:13 +0400 (GMT) Received: from acc.am (acc.freenet.am [194.151.101.251]) by lemming.acc.am (8.9.1a/8.9.1) with ESMTP id CAA07396; Wed, 30 Dec 1998 02:02:32 +0400 (AMT) Message-ID: <36894ED2.D29DD101@acc.am> Date: Wed, 30 Dec 1998 01:51:14 +0400 From: Casper Organization: Armenian Computer Center X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: ru,en MIME-Version: 1.0 To: Jim Mock CC: Marc Andre Paquin , freebsd-questions@FreeBSD.ORG Subject: Re: Multi-user web file structure on FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry for correction , but sometimes it's not good idea to allow users run thier own cgi scripts [...skip...] > > > ServerAdmin bob@bob.com > DocumentRoot /usr/home/bob/public_html-www.bob.com > ServerName www.bob.com > ErrorLog /usr/weblogs/www.bob.com-error_log > TransferLog /usr/weblogs/www.bob.com-access_log > ScriptAlias /cgi-bin/ /usr/home/bob/public_html-www.bob.com/cgi-bin/ ^^^^^^^ you can remove this line by security reasons > > [...skip...] Users must set files in their public_html-www.somewhere.net directories word readable , or you have to create separate group of users , and set apache to run under that group_ID - EffectiveGroup option or somethink like this in http.conf It's good idea to create separate user for apache .... Of course , much more info can give you Manual and FAQ on the www.apache.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message