Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 589 invoked from network); 12 Jan 2009 13:01:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2009 13:01:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=nrixham@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nrixham@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.92.25 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nrixham@gmail.com X-Host-Fingerprint: 74.125.92.25 qw-out-2122.google.com Received: from [74.125.92.25] ([74.125.92.25:62217] helo=qw-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/D1-10197-13F3B694 for ; Mon, 12 Jan 2009 08:01:38 -0500 Received: by qw-out-2122.google.com with SMTP id 8so4668310qwh.59 for ; Mon, 12 Jan 2009 05:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=logO2TXFg5p1x7WnUcQ4+v8fXXnyjIKWKEDaFIsgrYs=; b=wHoPwkw/0bEDu6m0CnzY0CFN3y3ztL6Kv4p0UCxgdbWuVPrM6DMCOklpXX4yTY/zEG mWYEY5M/Of8GhDm8fuVIoUhUW4SeQkjGBHTA9fzcCY/BLOlP1JqU/eg9t+7wdSRNJrX3 9qUIb9tYCJbfQhfNr609OHl2JTBkH4/GjASsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; b=EMcYehlhxzvM93z8rKbPLfYKD8ud6P9PDIj5jApogL5iHghYjIGa1bsfC6qnEElsUl 3vud6sfLRtK3U4c+ZYFmwM/oKeK8S4A8JzA7BJh4uynRJ421seiWeUWVOZQqJMbPuQ62 mp9aNK6FXFCxAWjF9xG0llirfv7YgB/axpNFE= Received: by 10.215.39.14 with SMTP id r14mr24972363qaj.80.1231765295286; Mon, 12 Jan 2009 05:01:35 -0800 (PST) Received: from ?192.168.2.6? (82-41-135-70.cable.ubr02.grth.blueyonder.co.uk [82.41.135.70]) by mx.google.com with ESMTPS id z40sm19803291ikz.9.2009.01.12.05.01.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 05:01:34 -0800 (PST) Message-ID: <496B3F1B.6000502@gmail.com> Date: Mon, 12 Jan 2009 13:01:15 +0000 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 CC: jani.taskinen@iki.fi, "int >> PHP internals" References: <91.30.10197.6C53B694@pb1.pair.com> <496B39D4.4070207@sci.fi> <496B3E6A.2050203@gmail.com> In-Reply-To: <496B3E6A.2050203@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: open_basedir .htaccess relative path problem -BUGor Expected? From: nrixham@gmail.com (Nathan Rixham) Nathan Rixham wrote: > Jani Taskinen wrote: >> Nathan Rixham wrote: >>>> 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 >> >> What exactly IS the open_basedir setting value here? >> Did you leave . out of it..? >> >> --Jani >> > > when open_basedir is set to the correct value (in this specific case set > to the site root directory) eg /var/sites/testsite/ and the full path to > the log file is /var/sites/testsite/logfile.txt just a quick one; it's def not a path error; the same config works using vhosts rather than .htaccess; and works completely using htaccess / vhosts on 5.2.6