Hello Denis,

On 03/03/2010, at 15:04, Denis Martinez wrote:

> Hello everyone,
> here's my first try to contribute to this awesome project :)

Geez! What a surprise.. Welcome!

> My problem is that you can specify a chroot directory for the webserver 
> itself, but the scripts always run in the normal root.
> This patch allows to associate a chroot directory to an information source, 
> without need for external software.
> If specified, the forked process will chroot() to this directory before 
> executing.
> I've implemented it in both local and shm spawn methods, added the admin 
> entry, and path checking.
> I've only tried the shm method though, it's currently running on my 
> production server without problems.

The patch looks good.

> <cherokee-chroot-interpreter.patch>

I've just logged a new RFE with your patch¹. I'll integrate it ASAP (hopefully 
for the upcoming release).

Thanks Denis, good stuff!!!


¹ http://bugs.cherokee-project.com/767

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to