Bug #15643: Apache's XBitHack causes parsing of PHP instead of SSI !
| From: | swift at fanpro dot com | Date: | Wed, 20 Feb 2002 11:34:20 +0000 |
| Subject: | Bug #15643: Apache's XBitHack causes parsing of PHP instead of SSI ! | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-652@lists.php.net to get a copy of this message | ||
From: swift@fanpro.com
Operating system: Linux 2.4.16
PHP version: 4.1.1
PHP Bug Type: Apache related
Bug description: Apache's XBitHack causes parsing of PHP instead of SSI !
Hi!
I reported this bug also to Apache's bug-db because I don't know if it is
Apache or PHP-related.
I always enable the XBitHack-feature. On our new server-install (Apache
1.3.20 - again, XBitHack on), this feature causes files with the x-bit
parsed via PHP instead of SSI !
PHP is only enabled for .php-files on our system. So, theoretically, .html
and .htm shouldn't parsed by PHP.
But when I set the x-bit of one .html-file, I can write PHP code in the
file and the code is parsed and executed by PHP!
On the other hand, if there is SSI-code in the file, it's NOT SSI-parsed
(but it should)!
Very strange.
Thanks in advance for your help.
Tobias Wiersch from germany
--
Edit bug report at http://bugs.php.net/?id=15643&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15643&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15643&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15643&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15643&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15643&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15643&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15643&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15643&r=submittedtwice