From owner-freebsd-isp Wed Oct 2 22:38:21 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 2FECF37B401 for ; Wed, 2 Oct 2002 22:38:20 -0700 (PDT) Received: from cox.rosnet.ru (cox.rosnet.ru [195.90.130.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF6B143E6A for ; Wed, 2 Oct 2002 22:38:18 -0700 (PDT) (envelope-from cox@rosnet.ru) Received: from cox (cox [195.90.130.40]) by cox.rosnet.ru (8.12.6/8.12.6) with ESMTP id g935cDtu096373 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 3 Oct 2002 09:38:14 +0400 (MSD) (envelope-from cox@rosnet.ru) Date: Thu, 3 Oct 2002 09:38:13 +0400 (MSD) From: Konstantin M Volevatch To: Jez Hancock Cc: FreeBSD ISP List Subject: Re: Apache vhost directive problem In-Reply-To: <20021003043348.GA55962@users.munk.nu> Message-ID: <20021003093609.I96307-100000@cox.rosnet.ru> 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 On Thu, 3 Oct 2002, Jez Hancock wrote: > Date: Thu, 3 Oct 2002 04:33:48 +0000 > From: Jez Hancock > To: FreeBSD ISP List > Subject: Apache vhost directive problem > > 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. Use 'apachectl configtest' before restart Also, you may set 'sunlnk' flag on 'web' subdir > > 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 > -- Konstantin M Volevatch RosNet JSC, Moscow [095] 755 85 94 [local:4341] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message