PK15553: MOD_INCLUDE PARSER OMITS PARTS OF OUTPUT STREAM

 Fixes are available

PK65782; 2.0.47.1: IBM HTTP Server V2.0.47 Cumulative Interim Fix
PK25355; 2.0.47.1: IBM HTTP Server V2.0.47 and V2.0.42 Cumulative Interim Fix
PK29827; 2.0.47.1: IBM HTTP Server V2.0.47 and V2.0.42 Cumulative Interim Fix



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 INCLUDES
Local 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 information
APAR number PK15553
Reported component name WAS HTTP SERVER
Reported component ID 5630A3603
Reported release 00A
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2005-11-21
Closed date 2005-11-22
Last modified date 2005-11-22

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
INCLUDE          

Publications Referenced

Fix information
Fixed component name WAS HTTP SERVER
Fixed component ID 5630A3603

Applicable component levels
R00A PSN    UP
R00H PSN    UP
R003 PSN    UP
R00I PSN    UP
R00S PSN    UP
R00W PSN    UP
R00P PSN    UP
R10A PSN    UP
R10H PSN    UP
R103 PSN    UP
R10I PSN    UP
R10S PSN    UP
R10W PSN    UP
R10P PSN    UP


Document Information


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