summaryrefslogtreecommitdiff
path: root/network/mod_chroot/README
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-13 00:37:12 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:12 +0200
commit6dd98402af4e6d95c8151aebbf92ef9a7a6fd561 (patch)
treeb6a4828867cc61e880ccb896729619ac1b7e62bd /network/mod_chroot/README
parent9bc1c57c1fe78955810a51744c30f6aa6f1582d0 (diff)
downloadslackbuilds-6dd98402af4e6d95c8151aebbf92ef9a7a6fd561.tar.gz
network/mod_chroot: Updated for version 0.5
Diffstat (limited to 'network/mod_chroot/README')
-rw-r--r--network/mod_chroot/README18
1 files changed, 7 insertions, 11 deletions
diff --git a/network/mod_chroot/README b/network/mod_chroot/README
index 391c8e0805..5495f1ba29 100644
--- a/network/mod_chroot/README
+++ b/network/mod_chroot/README
@@ -7,15 +7,11 @@ hierarchy (containing /dev, /lib, /etc...), unless an external handler, such
as suEXEC or suPHP, is being used, or system()-like functions are in use.
This package pre-creates /var/chroot/httpd with just enough subdirs to enable
-the stock Slackware config to run. Provided /etc/httpd/httpd.conf contains:
+the stock Slackware config to run. You'll need to add the following line to
+your /etc/httpd/httpd.conf file:
+ Include /etc/httpd/mod_chroot.conf
-ChrootDir /var/chroot/httpd
-LoadModule chroot_module lib/httpd/modules/mod_chroot.so
-
-And the following (or similar) commands where run:
-
-mount -o nosuid,nodev --bind /var/run/httpd /var/chroot/httpd/var/run/httpd
-mount -o nosuid,nodev --bind /srv /var/chroot/httpd/srv
-mount --bind /var/www /var/chroot/httpd/var/www
-
-Above commands maybe added to rc.local.
+You'll also need to add the following lines to your /etc/fstab file:
+ /var/run/httpd /var/chroot/httpd/var/run/httpd none bind
+ /srv /var/chroot/httpd/srv none bind
+ /var/www /var/chroot/httpd/var/www none bind