open_basedir .htaccess relative path problem - BUG or Expected?
| From: | Nathan Rixham | Date: | Mon, 12 Jan 2009 12:21:05 +0000 |
| Subject: | open_basedir .htaccess relative path problem - BUG or Expected? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-42574@lists.php.net to get a copy of this message | ||
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