www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Wiersch <sw...@fanpro.com>
Subject mod_include/9880: XBitHack causes parsing via PHP instead of SSI !!
Date Wed, 20 Feb 2002 11:28:10 GMT

>Number:         9880
>Category:       mod_include
>Synopsis:       XBitHack causes parsing via PHP instead of SSI !!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Feb 20 03:30:00 PST 2002
>Originator:     swift@fanpro.com
>Release:        1.3.20
Linux 2.4.16, PHP 4.1.1
I know that PHP is no official module but I think that the problem maybe Apache-specific.

I have always enabled the XBitHack-feature. But on our new server-install (xbithack on), x-bit-files
are PHP-parsed instead of SSI-parsed! 
PHP is only enabled for .php, but when I enable the xbit of a file, I can write php-code in
it and when I call the URL, the php-code is parsed!
On the other hand, the SSI-code in the file is NOT parsed.

What's going on here?

Thanks for your help.

Tobias Wiersch from germany


 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message