PK15553: MOD_INCLUDE PARSER OMITS PARTS OF OUTPUT STREAM | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When mod_include is enabled in IHS 2.0.47x, there is a potential for the output stream sent to the client to consist of omitted bytes which would result in the browser not being able to display the page. - The following bug in apache mod_include appears to cause this issue.. - mod_include parse errors result in missing bytes from response Matching Apache change log is: *) mod_include: Fix a trio of bugs that would cause various unusual sequences of parsed bytes to omit portions of the output stream. PR 21095. - How to identify if the IBM HTTP Server is enabledfor SSI (Server Side Includes) - Options +Includes SetOutputFilter INCLUDESLocal fix A Fix is available.Problem summary All responses were being passed through mod_include, because customer could not select on file extension or content-type between responses with SSI tags and responses without SSI tags. One particular response without SSI tags triggered a failure in the mod_include parser. This response should have been passed through unchanged, but a parse error occurred and it resulted in invalid data in the chunked response from IHS. A chunk length field was missing a CR-LF prior to the length.Problem conclusion mod_include parser was refactored after Apache 2.0.47 to fix this and several other problems. IHS 2+ will switch to this newer level of mod_include to resolve the problem.Temporary fix If problems are occurring with responses which do not have SSI tags, reconfigure mod_include to not try to parse them. For example, AddOutputFilterByType can be used to parse only files with type text/shtml, if the type of the SSI response can be changed to text/shtml. If problems are occurring with responses which do have SSI tags, try to modify the SSI tags to avoid triggering the parse errors. For example, add whitespace around all tag elements.Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > IBM HTTP Server >
Runtime
Operating system(s):
Software version: 00A
Software edition:
Reference #: PK15553
IBM Group: Software Group
Modified date: Nov 22, 2005
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.