ID: 41620 Updated by: [EMAIL PROTECTED] Reported By: ruud at rb-sound dot nl -Status: Open +Status: Feedback -Bug Type: Apache2 related +Bug Type: Feature/Change Request Operating System: FreeBSD PHP Version: 5.2.3 New Comment:
>The %0 only works on VirtualDocumentRoot. >php doens't read the %0 value. What %0 is supposed to mean? Previous Comments: ------------------------------------------------------------------------ [2007-06-07 07:40:13] ruud at rb-sound dot nl Apache reports bug as a php bug http://issues.apache.org/bugzilla/show_bug.cgi?id=42606 ------------------------------------------------------------------------ [2007-06-07 07:38:58] ruud at rb-sound dot nl Description: ------------ php_admin_value open_basedir /usr/local/apache/vhosts/%0/www/ The %0 only works on VirtualDocumentRoot. php doens't read the %0 value. Reproduce code: --------------- In this example i try to chroot php. So user's can only access there home dir. <VirtualHost *> Use CanonicalName off # use the name from the Host: header instead of the DNS name VirtualDocumentRoot /usr/local/apache/vhosts/%0/www/public_html/ php_admin_value open_basedir /usr/local/apache/vhosts/%0/www/ <VirtualHost> The %0 only works on VirtualDocumentRoot. php doens't read the %0 value. Expected result: ---------------- php_admin_value open_basedir /usr/local/apache/vhosts/www.domain.tld/www/ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41620&edit=1