Bug #13420 Updated: open_basedir breaks Apache SSI xbithack
| From: | N dot Cole at sc98c dot demon dot co dot uk | Date: | Fri, 11 Jan 2002 10:28:28 +0000 |
| Subject: | Bug #13420 Updated: open_basedir breaks Apache SSI xbithack | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76603@lists.php.net to get a copy of this message | ||
ID: 13420
Comment by: N.Cole@sc98c.demon.co.uk
Old Reported By: wbrown@arkie.net
Reported By: N.Cole@sc98c.demon.co.uk
Status: Open
Bug Type: Apache related
Operating System: Linux mainserver2 2.4.4
PHP Version: 4.0.6
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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