Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12353 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31170 invoked by uid 1010); 26 Aug 2004 01:44:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28169 invoked from network); 26 Aug 2004 01:42:25 -0000 Received: from unknown (HELO avas-mr03.fibertel.com.ar) (24.232.0.216) by pb1.pair.com with SMTP; 26 Aug 2004 01:42:25 -0000 Received: from 102-190-114-200.fibertel.com.ar ([200.114.190.102]:4369 "EHLO [200.114.190.102]" smtp-auth: "fpetronio") by avas-mr03.fibertel.com.ar with ESMTP id S147509AbUHZBmR; Wed, 25 Aug 2004 22:42:17 -0300 X-Comment: RFC 2476 MSA function at avas-mr03.fibertel.com.ar logged sender identity as: fpetronio Message-ID: <412D3FE4.9070102@activesec.biz> Date: Wed, 25 Aug 2004 22:41:56 -0300 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Fib-Al-Info: Al X-Fib-Al-MRId: 3ab7c686772f22bbcb6937749b7ef120 X-Fib-Al-From: petrus@activesec.biz Subject: open_basedir "/" not working after upgrade From: bogus@news.php.net (Unknown Sender) Hello all... I just upgrade PHP from version 4.3.4 to version 4.3.8. After the upgrade, almost everything worked fine but the open_basedir directive. The server I administer provides hosting for several domains, all of those with its own homedir restricted using open_basedir in a scope. Some especial directories, for example the webmail directory, is there only one, but it is shared by all the virtualhosts (http:///webmail/). I achieve that using (en httpd.conf): Alias /webmail "/apache2/htdocs/horde/imp" php_admin_flag safe_mode off php_admin_value upload_tmp_dir /tmp php_admin_value open_basedir "/" This worked fine until the upgrade. After it, I get a message claiming that the open_basedir directive is in use, and that "/apache2/htdocs/horde/imp" is not in (/). I guess this could be an error in the open_basedir implementation (or just a change), but I am not sure. What I saw is that in recent version there were a lot of "move" around open_basedir code. Can anybody help me with this? is there any patch I could apply to solve this? Thank you! -- -- Federico Petronio petrus@activesec.biz Linux User #129974 --- There are only 10 types of people in the world: Those who understand binary and those who don't.