Re: open_basedir "/" not working after upgrade
| From: | Federico Petronio | Date: | Tue, 31 Aug 2004 13:41:41 +0000 |
| Subject: | Re: open_basedir "/" not working after upgrade | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195275@lists.php.net to get a copy of this message | ||
Ed Lazor wrote:
No. As I understand it means: "All php scripts inside '/apache2/htdocs/horde' could access to any file inside '/'". Which is the same as letting the webmail access any file it needs in the filesystem. Since each virtualhost is restricted to its home directory, and webmail is common for all the virtualhosts (http://<virtualhost>/webmail), I needed to define a rule in a directory basis to let the webmail system access more than just the file inside the virtualhost home. Currently I only want to know the exact meaning of: open_basedir none -- Federico Petronio fpetronio@activesec.biz Linux User #129974 --- There are only 10 types of people in the world: Those who understand binary and those who don't.<Directory /apache2/htdocs/horde >php_admin_flag safe_mode off php_admin_value upload_tmp_dir /tmp php_admin_value open_basedir "/"</Directory> ..... But after settingphp_admin_value open_basedir noneinstead ofphp_admin_value open_basedir "/"the problem disappeared. I just want to know the exact meaning of that directive.From php.iniAre you assuming that "/" refers to /apache2/htdocs/horde ?