From owner-freebsd-isp Wed Oct 2 20:50:24 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 EDF7B37B401 for ; Wed, 2 Oct 2002 20:50:22 -0700 (PDT) Received: from users.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD0443E77 for ; Wed, 2 Oct 2002 20:50:22 -0700 (PDT) (envelope-from munk@users.munk.nu) Received: from users.munk.nu (localhost [127.0.0.1]) by users.munk.nu (8.12.5/8.12.3) with ESMTP id g934opvD056106 for ; Thu, 3 Oct 2002 04:50:51 GMT (envelope-from munk@users.munk.nu) Received: (from munk@localhost) by users.munk.nu (8.12.5/8.12.3/Submit) id g934op7o056105 for freebsd-isp@freebsd.org; Thu, 3 Oct 2002 04:50:51 GMT Date: Thu, 3 Oct 2002 04:50:51 +0000 From: Jez Hancock To: FreeBSD ISP List Subject: Re: Apache vhost directive problem Message-ID: <20021003045051.GA56068@users.munk.nu> Mail-Followup-To: FreeBSD ISP List References: <20021003043348.GA55962@users.munk.nu> <20021003034334.GB23017@corey.datafast.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021003034334.GB23017@corey.datafast.net.au> User-Agent: Mutt/1.4i 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 On Thu, Oct 03, 2002 at 01:43:34PM +1000, Corey Ralph wrote: > You should change the permissions so that the user cannot write to the > logs. Ok I'll set that up thanks. > The DocumentRoot shouldn't matter though, it only issues a warning if > it doesn't exist. ;) Thanks for that, Jez > > Cheers > > On 03/10/02 04:33 +0000, Jez Hancock wrote: > > Hi folks, > > > > I have a problem with my apache httpd vhost configuration. > > > > My vhost entries for numerous users look like this: > > > > > > ServerName eggshell.munk.nu > > ServerAdmin support@munk.nu > > DocumentRoot /home/eggshell/web > > ErrorLog /home/eggshell/logs/httpd-error.log > > CustomLog /home/eggshell/logs/httpd-access.log combined > > > > > > and the problem I'm having is that if a user removes either their logs > > or web dir, the server will not (re)start correctly since the vhost > > configuration is broken after such changes. > > > > How can I ensure that the vhost configuration does not become 'broken' > > after a user makes such a change? > > > > Many thanks in advance, > > > > Jez > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > -- > ------------------------------------------------------------ > Corey Ralph corey.ralph@datafast.net.au > System Administrator +61 3 5278 3955 > Datafast Telecommunications > ------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message