Re: Re: open_basedir .htaccess relative path problem -BUGor Expected?
| From: | Nathan Rixham | Date: | Mon, 12 Jan 2009 13:01:15 +0000 |
| Subject: | Re: Re: open_basedir .htaccess relative path problem -BUGor Expected? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42578@lists.php.net to get a copy of this message | ||
Nathan Rixham wrote:
Jani Taskinen wrote: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.6Nathan Rixham wrote: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.txtWhat exactly IS the open_basedir setting value here? Did you leave . out of it..? --Janiwith 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, Nathanplease 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