I have read and followed this howto
, but I'm pretty confused.
I added the following php script in / var/www/web1/web/test.php and calling it from the browser I can read the contents of the entire server, including the document root of web2.
$dir = '/etc/httpd';
$files1 = scandir($dir);
Output: Array (  => .  => ..  => conf  => conf.d  => logs  => modules  => run )
How can I limit web1 only to its document root / var/www/web1/web/ ?