Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42577 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99088 invoked from network); 12 Jan 2009 12:58:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2009 12:58:42 -0000 Authentication-Results: pb1.pair.com header.from=nrixham@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=nrixham@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.29 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.46.29 yw-out-2324.google.com Received: from [74.125.46.29] ([74.125.46.29:58438] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/91-10197-18E3B694 for ; Mon, 12 Jan 2009 07:58:42 -0500 Received: by yw-out-2324.google.com with SMTP id 5so4404912ywb.83 for ; Mon, 12 Jan 2009 04:58:38 -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:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=4/f/wHLW1VBt1Jd6bi2N4pEWd2l6XVKnj2oYsMGqbL4=; b=u9J3Eyt7HSkLvh0XFrxomyLc/B8Bd6FcArdXKc09IjwweY2pwFFqmBb0hQjQHHTjnM 18YGG5iK4U+kXE75sdyHEMS3SkQeMhqUhN/envewA0k+xl0tC1piX+zu8PgTouTa7AoK UJtwwd5XrZtgrspdRbfMdODP+lc5UtOeP4XNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=oVHEmlbwDZBqfzY+QgHFj/p7CXDlV+OBA2X55ZjGHl8VDg30lyEWEKpxsvaWpDCoDi sjD/xyv4ID2snfw1gW54wNdJTMI4thdvEZ7Nh6dJs7FjapjHGv6E3BVzq9mfRgMTBCGl oDsFatO8KYu3/COp33mIGdACVwMDUM2JlBww4= Received: by 10.100.216.10 with SMTP id o10mr13826441ang.125.1231765118691; Mon, 12 Jan 2009 04:58:38 -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 b33sm69603100ika.5.2009.01.12.04.58.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jan 2009 04:58:38 -0800 (PST) Message-ID: <496B3E6A.2050203@gmail.com> Date: Mon, 12 Jan 2009 12:58:18 +0000 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: internals@lists.php.net References: <91.30.10197.6C53B694@pb1.pair.com> <496B39D4.4070207@sci.fi> In-Reply-To: <496B39D4.4070207@sci.fi> 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 -BUG or Expected? From: nrixham@gmail.com (Nathan Rixham) 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