Apache and home directories (file browser).
ml at sd2i.fr
ml at sd2i.fr
Tue Feb 17 00:20:15 PST 2004
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 at lewiz.net | jabber:lewiz at jabber.org | url:www.lewiz.org
> |-
> <mime-attachment>
More information about the freebsd-isp
mailing list