summaryrefslogtreecommitdiff
path: root/www/ap2-chroot
diff options
context:
space:
mode:
authorben <ben>2004-12-04 14:12:19 +0000
committerben <ben>2004-12-04 14:12:19 +0000
commit5101d7d6a9ba505849807c0196ed2f49ec080e6b (patch)
tree321a2790a848c9c9511fb0571d0f5235b3c88ede /www/ap2-chroot
parent3928102b910fec9a935c9a6830a2695bce3daba1 (diff)
downloadpkgsrc-5101d7d6a9ba505849807c0196ed2f49ec080e6b.tar.gz
Add some configuration tips to MESSAGE.
Diffstat (limited to 'www/ap2-chroot')
-rw-r--r--www/ap2-chroot/MESSAGE12
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.
+
===========================================================================