IBM Support

PM03121: MOD_DEFLATE DOESN'T COMPRESS INTERNALLY REDIRECTED URLS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The request has the following header:
    Accept-Encoding: gzip, deflate
    But the response data was not compressed.
    The request was internally redirected in IBM HTTP Server. For
    example, a "GET /" request was internally redirected to 'GET
    /cell/". Then the redirected request was handled by WebSphere
    Application Server. The response text/html data was not
    compressed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM HTTP Server ssers with mod_deflate      *
    *                  loaded that also use features such as       *
    *                  RewriteRule or ErrorDocument along with     *
    *                  URLs desired to be compressed.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: mod_deflate takes no action on          *
    *                      responses that are the result of        *
    *                      Apache internal redirects.              *
    ****************************************************************
    * RECOMMENDATION:  Apply this fix if your configuration        *
    *                  performs internal redirects on requests     *
    *                  that will result in large, compressable     *
    *                  responses.                                  *
    ****************************************************************
    mod_deflate confused two internal Apache constructs,
    sub-requests and internal redirects, by way of using a library
    function call.   This incorrectly short-circuited processing
    of internal redirects.
    
    Internal redirects occur as a result of RewriteRule in
    per-directory context, RewriteRule with the "PT" flag, and
    the local-path form of ErrorDocument handling.
    

Problem conclusion

  • mod_deflate was updated to check only that the request is not a
    subrequest, allowing internal redirects to be compressed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM03121

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    61W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2009-12-09

  • Closed date

    2009-12-10

  • Last modified date

    2010-02-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM HTTP SERVER

  • Fixed component ID

    5724J0801

Applicable component levels

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTJ","label":"IBM HTTP Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 September 2022