diff options
-rw-r--r-- | www/ap2-chroot/MESSAGE | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/www/ap2-chroot/MESSAGE b/www/ap2-chroot/MESSAGE index a6a0520bdd9..e873d7c1cd2 100644 --- a/www/ap2-chroot/MESSAGE +++ b/www/ap2-chroot/MESSAGE @@ -1,5 +1,5 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2004/12/03 16:53:20 ben Exp $ +$NetBSD: MESSAGE,v 1.2 2004/12/04 14:12:19 ben Exp $ In order to enable mod_chroot in your Apache installation, you need to add the following to your httpd.conf file: @@ -10,4 +10,14 @@ Please also refer to the documentation in: ${PREFIX}/share/doc/mod_chroot/ +It can be useful to null mount /var/run into CHROOTDIR/var/run, so that +apachectl and etc/rc.d/apache can still find the PID to stop apache. + +For the UserDir feature, CHROOTDIR/etc/pwd.db and passwd need to exist. +Alternatively, instead of UserDir, one could null mount +/home/USER/public_html into DocumentRoot/~USER. + +Take care configuring DocumentRoot, because apache will not start unless +the directory also exists before the chroot is performed. + =========================================================================== |