Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42575 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93079 invoked from network); 12 Jan 2009 12:29:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2009 12:29:24 -0000 X-Host-Fingerprint: 82.41.135.70 82-41-135-70.cable.ubr02.grth.blueyonder.co.uk Received: from [82.41.135.70] ([82.41.135.70:26323] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/80-10197-3A73B694 for ; Mon, 12 Jan 2009 07:29:24 -0500 Message-ID: To: internals@lists.php.net Date: Mon, 12 Jan 2009 12:29:02 +0000 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 References: <91.30.10197.6C53B694@pb1.pair.com> In-Reply-To: <91.30.10197.6C53B694@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 82.41.135.70 Subject: Re: open_basedir .htaccess relative path problem - BUG or Expected? From: nrixham@gmail.com (Nathan Rixham) Nathan Rixham wrote: > Hi All, > > Figured this was for internals before opening up a bug report. > > In php 5.2.8 on windows and linux (only ones tested so far) > > when you add in a value to open_basedir in either php.ini or a > vhosts.conf file; *relative* paths suddenly do not work for the > php_value error_log specified in a .htaccess file. > > thus: > > with php.ini/vhosts.conf open_basedir NOT set > > these values in .htaccess WILL work > php_flag log_errors on > php_value error_log logfile.txt > > these values in vhosts.conf WILL work > php_flag log_errors on > php_value error_log logfile.txt > > =========== > > with php.ini/vhosts.conf open_basedir set > > these values in .htaccess WILL NOT work > php_flag log_errors on > php_value error_log logfile.txt > > these values in vhosts.conf WILL work > php_flag log_errors on > php_value error_log logfile.txt > > ============ > > absolute paths to the same file always work. > > can anybody confirm if this is a big or not before I submit? > > regards, > > Nathan please ignore the "php_flag log_errors on" it always works, included as it was in my test code - don't want to confuse matters. also the bug? appears not to be in 5.2.6 - thus 5.2.8 specific