Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42574 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91033 invoked from network); 12 Jan 2009 12:21:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2009 12:21:26 -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:23200] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/30-10197-6C53B694 for ; Mon, 12 Jan 2009 07:21:26 -0500 Message-ID: <91.30.10197.6C53B694@pb1.pair.com> To: internals@lists.php.net Date: Mon, 12 Jan 2009 12:21:05 +0000 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 82.41.135.70 Subject: open_basedir .htaccess relative path problem - BUG or Expected? From: nrixham@gmail.com (Nathan Rixham) 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