pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap2-chroot Add some configuration tips to MESSAGE.
details: https://anonhg.NetBSD.org/pkgsrc/rev/28774e94c3e5
branches: trunk
changeset: 485130:28774e94c3e5
user: ben <ben%pkgsrc.org@localhost>
date: Sat Dec 04 14:12:19 2004 +0000
description:
Add some configuration tips to MESSAGE.
diffstat:
www/ap2-chroot/MESSAGE | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r bc2cb1a05f30 -r 28774e94c3e5 www/ap2-chroot/MESSAGE
--- a/www/ap2-chroot/MESSAGE Sat Dec 04 12:10:35 2004 +0000
+++ b/www/ap2-chroot/MESSAGE Sat Dec 04 14:12:19 2004 +0000
@@ -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 @@
${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.
+
===========================================================================
Home |
Main Index |
Thread Index |
Old Index