For my web hosting panel, users need to be blocked from accessing files outside their own directory (/var/www/u/s/username
). I tried to use this line in httpd.conf
to prevent people from going up a directory.
<Directory /var/www/users/>
php_admin_value open_basedir .:/usr/lib/php5
</Directory>
But in php.ini
, it seems to have no effect. What am I doing wrong?