#13420 [Opn->Bgs]: open_basedir breaks Apache SSI xbithack

From: Date: Thu, 22 Aug 2002 15:42:21 +0000
Subject: #13420 [Opn->Bgs]: open_basedir breaks Apache SSI xbithack
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17557@lists.php.net to get a copy of this message
ID: 13420 Updated by: iliaa@php.net Reported By: wbrown@arkie.net -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Linux mainserver2 2.4.4 PHP Version: 4.0.6 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2002-01-11 05:28:27] N.Cole@sc98c.demon.co.uk This same bug strikes PHP 4.0.6 on Solaris 2.6. Our system runs PHP in safe mode with no exec dir; as a result, NO html page marked as executable can be displayed. This is so crippling that we're going to have to remove PHP until it is fixed :-( It looks as though PHP is scanning all HTML pages when the XBitHack is enabled. ------------------------------------------------------------------------ [2001-09-27 15:07:04] wbrown@arkie.net Changing any php_admin setting through the httpd.conf file using the following format appears to breaks Apache SSI xbithack: <DIRECTORY /> php_admin_value open_basedir "." php_admin_flag asp_tags on </DIRECTORY> ------------------------------------------------------------------------ [2001-09-25 09:18:02] wbrown@arkie.net This may be the reason that some of the developers were not able to reproduce a similar bug reported in Bug id #10575. ------------------------------------------------------------------------ [2001-09-24 15:33:15] wbrown@arkie.net Linux version 2.4.4 Apache version 1.3.19 Php version 4.0.6 When xbithack is set to FULL in .htaccess, setting test.htm chmod to 754 allows the SSI calls in test.htm to perform as expected. However, when open_basedir is specified in httpd.conf the xbithack directive is ignored and SSI calls in test.htm stop working. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13420&edit=1

« previous php.bugs (#17557) next »