Is it advisable to run Apache in a chroot jail?

Posted by morpheous on Server Fault See other posts from Server Fault or by morpheous
Published on 2010-06-03T07:01:44Z Indexed on 2010/06/03 7:04 UTC
Read the original article Hit count: 311

Filed under:
|
|

I have been advised by a sysadmin guy I know, to run Apache in a chroot jail, for increased security.

I have the following questions:

  1. Is this advisable (i.e. are there any 'gotcha's that I need to be aware of) ?
  2. Does running Apache in a chroot jail affect its ability issues like performance and scalability?

He also advised that I run my databases (mySQL and PostgreSQL), in separate chroot jails.

Is this something that is often done in production systems

© Server Fault or respective owner

Related posts about apache

Related posts about chroot