Chrooting Apache2 With mod_chroot On Fedora 12
Apr 07, 2010, 05:04 (0 Talkback[s])
(Other stories by Falko Timme)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Falko
Timme for this link. ]
"This guide explains how to set up mod_chroot with
Apache2 on a Fedora 12 system. With mod_chroot, you can run Apache2
in a secure chroot environment and make your server less vulnerable
to break-in attempts that try to exploit vulnerabilities in Apache2
or your installed web applications.
"1 Preliminary Note
"I'm assuming that you have a running Fedora 12 system with a
working Apache2, e.g. as shown in this tutorial: The Perfect Server
- Fedora 12 x86_64 [ISPConfig 2]. In addition to that I assume that
you have one or more web sites set up within the /var/www directory
(e.g. if you use ISPConfig).
"2 Installing mod_chroot
"There's no mod_chroot package for Fedora 12, therefore we must
build it ourselves. First we install the prerequisites:"