Jail PHP CGI

urbee

Verified User
Joined
Mar 27, 2009
Messages
124
I'm reading the howto on CGI jailing:

http://help.directadmin.com/item.php?id=90

If i understood correctly, this was supposed to prevent users from browsing outside their directory through php, however this does not work for me.

Followed the guide but the user is still able to browse the folders outside his home directory. (/, etc)

Using PHP 5.2 with suphp/cgi.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
As far as I remember it is actual only for SSH sessions, as an user gets an jailed version of sh/bash. That's it.
 

urbee

Verified User
Joined
Mar 27, 2009
Messages
124
seems like, but why is the guide's name "How to setup jailed ssh and jailed cgi (beta)" and what does cgi have to do with it then?
 
Top