How to Jail/chroot Apache and PHP Engine

AlbioB

New member
Joined
Jan 25, 2007
Messages
2
Hello,

I am new of DirectAdmin and I would know if there is a procedure to jail/chroot Apache and PHP.

I found this 3d http://www.directadmin.com/forum/showthread.php?t=2107&highlight=jail but seems that there're some issues with http://help.directadmin.com/item.php?id=90 :
  1. there isn't the possibility to unjail an user or delete it using DA if it is in a jail
  2. I have to use suPHP to jail also PHP Engine (and it slow down the system)

Now I would know how I could completely jail/chroot an user using Apache 2.x (http://help.directadmin.com/item.php?id=90 is only for Apache 1.3.x ) + FastCGI + PHP FCGI.

If the users are jailed/chrooted there is the possibility not to restrict the access (using safemode or open_basedir) or disable some PHP functions.

I hope in your help.
Thank you in advance.

AlbioB
 
Back
Top