Ogoshi wrote:
> Hi
>
> Any person using chroot with cherokee??
>
> Working well? and how make chroot with cherokee.? is dificult or easy?
>
> Can explain me?
Sure, it is really easy. You only have to take care with the paths
inside the configuration file.
This is an example configuratioin *with out* chroot:
===
Port 80
DocumentRoot /var/www
Directory / {
Handler common
}
Directory /images {
Handler file
DocumentRoot /var/www/program/example/images
}
===
and this is the same configuration using chroot:
===
Port 80
Chroot /var/www
DocumentRoot /var/www
Directory / {
Handler common
}
Directory /images {
Handler file
DocumentRoot /program/example/images
}
===
The chroot environment is much more secure, but it is not suitable for
some configurations. For example: you can't use it if you want to
access to CGIs placed in /usr/lib/cgi-bin/ or to shared icons in
/usr/share/cherokee/icons.
By the way, we added a chroot bug in the last release, so if you are
planning to use this feature, please, use the last beta release:
http://alobbs.com/tmp/cherokee-0.4.23b03.tar.gz
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee