IBM Support

PI80106: 500 Internal error with AH01328: Line too long

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Using MVSDS with
    AddOutputFilterByType SUBSTITUTE text/html
      Substitute "s/foo/bar/ni"
    
    may return a 500 Internal Server Error to the client with this
    error in the error log:
    [substitute:error] AH01328: Line too long, URI /uri
    

Local fix

  • Use a larger SubstituteMaxLineLength, ie
    SubstituteMaxLineLength 10m
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM HTTP Server 9.0 users on z/OS           *
    ****************************************************************
    * PROBLEM DESCRIPTION: Improper handling of newlines by        *
    *                      mod_substitute could cause errors.      *
    ****************************************************************
    * RECOMMENDATION:  Apply this fix if using IHS 9.0 on z/OS     *
    ****************************************************************
    On z/OS, mod_substitute did not treat newlines properly,
    resulting in some non-intuitive captures/substitutions and
    "AH01328: Line too long" errors.
    

Problem conclusion

  • The mod_substitute handling of newlines was modified to
    properly handle newlines.
    
    This fix is targeted for IBM HTTP Server fix packs:
    - 9.0.0.4
    

Temporary fix

  • SubstituteMaxLineLength defaults to 1m.  Increase this as
    needed, ie
      SubstituteMaxLineLength 10m
    

Comments

APAR Information

  • APAR number

    PI80106

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    90P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-18

  • Closed date

    2017-05-16

  • Last modified date

    2017-05-16

  • 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

    WAS IHS ZOS

  • Fixed component ID

    5655I3510

Applicable component levels

  • R90P PSY

       UP



Document information

More support for: z/OS family

Software version: 90P

Operating system(s): z/OS

Reference #: PI80106

Modified date: 16 May 2017