Only root is able to chroot. You would need to run apache as root or find a safe way to get root privileges for the chroot. On Sat, 17 Jan 2004, Bostjan Skufca (at) domenca.com wrote: > Hello all, > > can anybody give me some hint about chrooting execution of cgi script invoked > through apache? > I would like to achieve this on per-virtual-host basis so every virtual host > would have different root dir to which it would chroot execution of it's cgi > scripts. If the price is perl installation in every chroot jail so be it. > > Best regards, > > Bostjan Skufca > > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html