slackbuilds/network/mod_chroot
dsomero d0c108251a various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2013-11-22 02:37:19 -05:00
..
README network/mod_chroot: Install config file to /etc/httpd/extra/ 2011-02-28 09:42:02 -06:00
doinst.sh network/mod_chroot: Fixed (Use correct file in config func) 2012-09-30 20:01:08 -05:00
mod_chroot.SlackBuild various: Update find command to match template. 2013-11-22 02:37:19 -05:00
mod_chroot.conf network/mod_chroot: Updated for version 0.5 2010-05-13 00:37:12 +02:00
mod_chroot.info Add REQUIRED field to .info files. 2012-08-19 21:57:51 -05:00
slack-desc various: Fix slack-desc formatting and comment nit picks. 2013-11-22 02:29:22 -05:00

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