Chrooting Apache2 With mod_chroot On Fedora 12

Written By
FT
Falko Timme
Apr 7, 2010

[ 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:”


Complete Story

FT

Falko Timme

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.