IBM Support

PK28348: THERE IS A BUG IN THE HANDLING OF CGID DIRECTIVES INSIDE VIRTUALHOSTS WHEN USING SCRIPTSOCK DIRECTIVE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In IHS 6.0, customer has added the directive in VirtualHost ...
    Scriptsock /arappx01/pasweb/logs/cgisock
    and gets the error
    [crit] CGI request received from wrong server instance; see
    ScriptSock directive
    There appears to be a bug in the handling of cgid directives
    inside virtualhosts.
    

Local fix

  • N/A
    

Problem summary

  • The ScriptSock directive was handled improperly when any
    mod_cgid directives were placed inside a <VirtualHost >
    container.  This resulted in the default ScriptSock value
    being used if any mod_cgid directive was placed inside
    <VirtualHost >.
    

Problem conclusion

  • Only one script socket is used by mod_cgid per web server
    instance, so handling of the ScriptSock directive was
    separated from handling of other mod_cgid directives which
    can be placed inside <VirtualHost >, correcting the problem.
    Additionally, if ScriptSock is coded within <VirtualHost >,
    a warning message will be issued at startup.  (That
    configuration is not meaningful since there is only one script
    socket per web server instance, and it must be configured at
    global scope -- outside of any <VirtualHost >.
    This fix is targed for:
    2.0: cumulative fix PK29827
    6.0: fix pack 6.0.2.15
    6.1: fix pack 6.1.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK28348

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    60A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2006-07-19

  • Closed date

    2006-08-14

  • Last modified date

    2006-10-04

  • 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 PSN

       UP

  • R60H PSN

       UP

  • R60P PSN

       UP

  • R60I PSN

       UP

  • R60S PSN

       UP

  • R60Z PSN

       UP

  • R61A PSN

       UP

  • R61H PSN

       UP

  • R61P PSN

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

Document Information

Modified date:
07 September 2022