Welcome to ftp.nluug.nl Current directory: /pub/os/Linux/distr/salix/sbo/14.0/network/mod_chroot/ |
|
Contents of README:mod_chroot allows you to run Apache in a chroot jail with no additional files. This makes running Apache in a chroot environment easy. The chroot() system call is performed at the end of startup procedure - when all libraries are loaded and log files open. No need for a special directory 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. You'll need to add the following line to your /etc/httpd/httpd.conf file: Include /etc/httpd/extra/mod_chroot.conf 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 |
Name Last modified Size
Parent Directory - README 15-Apr-2011 10:47 888 doinst.sh 01-Oct-2012 03:07 611 mod_chroot.SlackBuild 02-Oct-2012 19:59 2.2K mod_chroot.conf 27-May-2010 06:51 125 mod_chroot.info 29-Sep-2012 06:34 312 slack-desc 29-Sep-2012 06:34 812
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!