From owner-freebsd-isp Wed Oct 2 20:43:44 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 4E74B37B401 for ; Wed, 2 Oct 2002 20:43:43 -0700 (PDT) Received: from mailhub.datafast.net.au (mailhub.datafast.net.au [203.123.67.14]) by mx1.FreeBSD.org (Postfix) with SMTP id C5F9643E3B for ; Wed, 2 Oct 2002 20:43:41 -0700 (PDT) (envelope-from corey.ralph@datafast.net.au) Received: (qmail 3811 invoked from network); 3 Oct 2002 03:43:34 -0000 Received: from corey.datafast.net.au (203.123.67.125) by mailhub.datafast.net.au with SMTP; 3 Oct 2002 03:43:34 -0000 Received: (qmail 23258 invoked by uid 1000); 3 Oct 2002 03:43:34 -0000 Date: Thu, 3 Oct 2002 13:43:34 +1000 From: Corey Ralph To: Jez Hancock Cc: freebsd-isp@freebsd.org Subject: Re: Apache vhost directive problem Message-ID: <20021003034334.GB23017@corey.datafast.net.au> References: <20021003043348.GA55962@users.munk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021003043348.GA55962@users.munk.nu> 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 You should change the permissions so that the user cannot write to the logs. The DocumentRoot shouldn't matter though, it only issues a warning if it doesn't exist. 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