You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.org> on 1998/06/17 01:19:04 UTC

Chroot hack for Apache 1.3.0 (fwd)

I'd be up for putting this into /dist/contrib/ - what do others think?  My
intuition tells me this could be better implemented as an option to
suexec... thoughts?

	Brian

---------- Forwarded message ----------
Date: Mon, 15 Jun 1998 18:58:19 -0700
From: Richard Horwood <ri...@mondial.com.au>
To: brian@hyperreal.org
Subject: Chroot hack for Apache 1.3.0


I don't know if this would interest you or not, but I made a small hack
to the 1.3.0 Apache source to allow chrooted CGI execution for Virtual Hosts.
I wasn't able to find any other similar solution to this problem, so I 
wrote my own, and posted it also to comp.infosystems.www.servers.unix.

Basically, you give a ChrootDir <some path> directive in the VirtualHost
configuration.

It worked fine under NetBSD 1.3 and Solaris 2.5.1

Anyhow, I'm sure you're busy, so I'll just attach the patch and be done
with it :)

Regards,

Richard.

-- 
,_-=`=-_,_-=`=-_,_-=`=-_,_-=`=-_,_-=`=-_,_-=`=-_,_-=`=-_,
Richard Horwood                Email: rich@mondial.com.au
Systems Engineer               Voice: +61 3 9640 0433
Mondial Net Pty. Ltd.          Fax:   +61 3 9640 0611