Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 04:50:51 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Subject:   Re: Apache vhost directive problem
Message-ID:  <20021003045051.GA56068@users.munk.nu>
In-Reply-To: <20021003034334.GB23017@corey.datafast.net.au>
References:  <20021003043348.GA55962@users.munk.nu> <20021003034334.GB23017@corey.datafast.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> > 
> > <VirtualHost *>
> >     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
> > </VirtualHost>
> > 
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021003045051.GA56068>