IBM Support

PH05560: USING MULTIPLE ENVIRONMENT VARIABLES IN A DIRECTIVE DOESN'T WORK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When specifying multiple environment variables in a directive,
    IHS will only use the last environment variable's value found
    for all the previous environment variables.
    
    An example of this is:
    bin/envvars:
    export LEVEL=TEST
    export SYSTEM=MVS1
    
    conf/httpd.conf:
    AuthName "${SYSTEM}-${LEVEL}-IHS"
    

Local fix

  • use only 1 environment variable in a directive
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of IBM HTTP Server with               *
    *                  $-prefixed variables in httpd.conf          *
    ****************************************************************
    * PROBLEM DESCRIPTION: When multiple variables are             *
    *                      substituted within the same             *
    *                      directive, the last value might be      *
    *                      substituted for all variables.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The memory returned by getenv() is likely to be  be reused by
    subsequent calls to getenv().
    

Problem conclusion

  • The code was updated to duplicate strings returned by getenv().
    
    The fix for this issue is expected in 8.5.5.16 and 9.0.0.11.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH05560

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    85P

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-20

  • Closed date

    2019-02-06

  • Last modified date

    2019-02-06

  • 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

  • R850 PSY

       UP

  • R90P PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"85P","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 January 2022