IBM Support

PI50376: DGW COMPATIBILITY FOR DOCUMENT_* CGI VARIABLES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This APAR makes multiple changes to the IBM HTTP Server
    powered by Apache for DGW compatibility:
    1) Set DOCUMENT_ROOT to the dirname of the requested cgi file
    2) Set DOCUMENT_ROOT and DOCUMENT_NAME in CGI scripts, rather
    than only in serverside-included files
    3) Prevent mod_dir from changing DOCUMENT_URI to the
    DirectoryIndex
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of Domino Go webserver who are        *
    *                  migrating to IBM HTTP Server powered by     *
    *                  Apache.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The values of the DOCUMENT_ROOT,        *
    *                      DOCUMENT_NAME, and DOCUMENT_URI CGI     *
    *                      and SSI variables differ between DGW    *
    *                      and IHS.                                *
    ****************************************************************
    * RECOMMENDATION:  Apply this fix.                             *
    ****************************************************************
    The DOCUMENT_* variables differ in these four ways:
    - DOCUMENT_ROOT holds the parent directory of the
    requested file in DGW, whereas it is equal to the value of
    DocumentRoot in IHS.
    - DOCUMENT_NAME holds the full path to the file in DGW,
    whereas in IHS it contains only the name of the file.
    - DOCUMENT_NAME and DOCUMENT_ROOT are set within both SSIs
    and CGIs in DGW, but they are set only in SSIs in IHS.
    - When the index of a directory is requested (e.g.
    /), in DGW, DOCUMENT_URI holds the original URI of the
    request, whereas IHS holds the mapped URI (e.g. /index.html).
    

Problem conclusion

  • Four directives have been added to correct each of the
    differences listed in the problem summary, and one directive
    has been added to set all four flags at once. The four
    directives corresponding to the four differences in the
    problem summary are:
    
     - CGISetDocumentRootToDirname
     - CGISetDocumentNameToFullPath
     - CGISetDocumentVars
     - CGIDocumentURIIgnoreDirectoryIndex
    
    The overriding directive to set all four at once is
    "DGWScriptCompat", which may be updated to also toggle other
    compatibility options in the future.
    
    This fix is targeted toward the following fixpacks:
     - 7.0.0.41
     - 8.5.5.9
     - 8.0.0.12
     - 9.0.0.0-PI49954
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50376

  • Reported component name

    WAS IHS ZOS

  • Reported component ID

    5655I3510

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-12

  • Closed date

    2015-10-13

  • Last modified date

    2015-11-25

  • 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

  • R700 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":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022