diff options
author | ben <ben@pkgsrc.org> | 2004-12-04 14:12:19 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2004-12-04 14:12:19 +0000 |
commit | c0b5f5014bce23a6bbcf22af187ee1eb6bffa8f9 (patch) | |
tree | 321a2790a848c9c9511fb0571d0f5235b3c88ede /www | |
parent | fb6616bc6b57e67296b0a50cd48a7848fc39dcc9 (diff) | |
download | pkgsrc-c0b5f5014bce23a6bbcf22af187ee1eb6bffa8f9.tar.gz |
Add some configuration tips to MESSAGE.
Diffstat (limited to 'www')
-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. + =========================================================================== |