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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 08:01:31 2024 UTC