Hi,

On Jun 24, 2006, at 9:53 PM, n.v.t n.v.t wrote:

Hello,

I hope all of you are in best shape of health. I'm experiencing some problems with apache.
I'm trying to enable Userdirs and keep the chroot.

(root here)
1) mkdir /var/www/user/me
2) cd /var/www/user/me ; ln -s /var/www/user/me /home/me/
3) modified my httpd.conf in /var/www/conf/

If you want to benefit from Apache chroot, then you certainly don't want to escape it with a symlink! :-)

You have to put things into the chroot if Apache is supposed to read them. Apache can't follow smylinks out of the chroot if you run it within a chroot. That would

Just create your home directories inside the chroot and you're fine.

I suggest you read the FAQ: http://www.openbsd.org/faq/ faq10.html#httpdchroot and http://www.openbsd.org/cgi-bin/man.cgi? query=chroot&sektion=2 ;-)

kind regards,
Tobias W.

Reply via email to