php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15643 Apache's XBitHack causes parsing of PHP instead of SSI !
Submitted: 2002-02-20 06:34 UTC Modified: 2002-02-20 06:56 UTC
From: swift at fanpro dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.1 OS: Linux 2.4.16
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swift at fanpro dot com
New email:
PHP Version: OS:

 

 [2002-02-20 06:34 UTC] swift at fanpro dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-20 06:54 UTC] yohgaki@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

With xbit hack, you are supposed to parse by PHP.

 [2002-02-20 06:56 UTC] yohgaki@php.net
s/you are/it is/g
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 14:01:33 2025 UTC