Advanced

Tutorial: Red Hat / CentOS - Chroot Apache 2 Web Server

Posted by nixcraft on · Post a comment
nixcraft
Mail this story
Print this story

A chroot on Red Hat / CentOS / Fedora Linux operating changes the apparent disk root directory for the Apache process and its children. Once this is done attacker or other php / perl / python scripts cannot access or name files outside that directory. This is called a "chroot jail" for Apache. You should never ever run a web server without jail. There should be privilege separation between web server and rest of the system.

In this exclusive series, you will learn more about:



* Securing an Apache 2 web server under Red Hat Enterprise Linux / CentOS Linux using mod_chroot
* Virtual hosting configuration under chrooted jail.
* Troubleshooting Chrooted Apache jail problem.



Red Hat / CentOS: Chroot Apache 2 Web Server

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Fedora, Linux, Red Hat

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post