Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2004 09:19:56 +0100
From:      ml@sd2i.fr <ml@sd2i.fr>
To:        isp@freebsd.org
Subject:   Re: Apache and home directories (file browser).
Message-ID:  <11D5E5E6-6122-11D8-B0F6-000393CBDA8C@sd2i.fr>
In-Reply-To: <20040216231312.GB78809@lewiz.org>

index | next in thread | previous in thread | raw e-mail


Le mardi, 17 fév 2004, à 00:13 Europe/Paris, Lewis Thompson a écrit :

> On Mon, Feb 16, 2004 at 10:55:57PM +0100, Juan Jose Sanchez Mesa wrote:
>>> /home/joe/access_list     <---  Access list for Joe's .htaccess
>>> files /home/tim/public_html/file_add.php  <--  Some script Tim has
>>> in his directory
>>>
>> If you set open_base_dir value to '/home/tim/public_html/', the PHP
>> executed in this vhost, can't access any directory/file below it.
>
> I understand this.  However, I don't see that this helps  
> reading/writing
> to home directories.  I really want home directories to be owned by the
> ``correct'' person and not all by the www user.

Take a look at www.suphp.org and you'll be able to chroot each vhost  
without running apache as root.

>
>   Maybe I'm jumping the gun and assuming you are trying to answer my
> question when you're not -- sorry if this is the case ;)
>
> -lewiz.
>
> -- I was so much older then, I'm younger than that now.  --Bob Dylan,  
> 1964.
> ----------------------------------------------------------------------- 
> -
> -| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org  
> |-
> <mime-attachment>


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11D5E5E6-6122-11D8-B0F6-000393CBDA8C>