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.
PHP Code:
<?php
$dir = '/etc/httpd';
$files1 = scandir($dir);
print_r($files1);
?>
Output:
Array ( [0] => . [1] => .. [2] => conf [3] => conf.d [4] => logs [5] => modules [6] => run )
How can I limit web1 only to its document root / var/www/web1/web/ ?
Thanks
Recent comments
1 day 7 hours ago
1 day 7 hours ago
1 day 12 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 7 hours ago
2 days 11 hours ago
2 days 13 hours ago