Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 13:43:34 +1000
From:      Corey Ralph <corey.ralph@datafast.net.au>
To:        Jez Hancock <jez.hancock@munk.nu>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Apache vhost directive problem
Message-ID:  <20021003034334.GB23017@corey.datafast.net.au>
In-Reply-To: <20021003043348.GA55962@users.munk.nu>
References:  <20021003043348.GA55962@users.munk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> 
> <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?20021003034334.GB23017>