Ed Lazor wrote:

<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 setting
       php_admin_value open_basedir none
instead of
       php_admin_value open_basedir "/"

the problem disappeared.

I just want to know the exact meaning of that directive.


From php.ini


Are you assuming that "/" refers to /apache2/htdocs/horde ?

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
                                        [EMAIL PROTECTED]
                                        Linux User #129974

---
There are only 10 types of people in the world:
              Those who understand binary and those who don't.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to