Re: Apache and home directories (file browser).
From: Andy Dills (andy_at_xecu.net)
Date: 02/16/04
- Previous message: Juan Jose Sanchez Mesa: "RE: Apache and home directories (file browser)."
- In reply to: Lewis Thompson: "Re: Apache and home directories (file browser)."
- Next in thread: Damian Gerow: "Re: Apache and home directories (file browser)."
- Reply: Damian Gerow: "Re: Apache and home directories (file browser)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 16 Feb 2004 17:31:13 -0500 (EST) To: Lewis Thompson <purple@lewiz.net>
On Mon, 16 Feb 2004, Lewis Thompson wrote:
> I think this is what I'm looking for, yes. Since I posted this I asked
> some questions on IRC and somebody mentioned that Apache can be chrooted
> to the uid of a script's owner (similar in a way to safe_mode in PHP).
> This would surely then allow files to be read/written by Apache in a
> secure fashion.
>
> My worry here is that Apache would have to be running as root to
> chroot -- can anybody confirm this for me? (Indeed, can anybody confirm
> that it is even possible to do this?)
While you can chroot apache, that's serverwide, not per-virtualhost.
If I were you and I wanted to do what you're talking about, I'd use suexec
with perl scripts. AFAIK, that's the only way to do it correctly.
Andy
--- Andy Dills Xecunet, Inc. www.xecu.net 301-682-9972 --- _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Juan Jose Sanchez Mesa: "RE: Apache and home directories (file browser)."
- In reply to: Lewis Thompson: "Re: Apache and home directories (file browser)."
- Next in thread: Damian Gerow: "Re: Apache and home directories (file browser)."
- Reply: Damian Gerow: "Re: Apache and home directories (file browser)."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|