cgi-bin functionality from web server thread

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf cgi-bin functionality from web server thread

  • Creator
    Topic
  • #55617
    Mark Thompson
    Participant

      Clovertechies,

      CL 6.2 comes with a $HCIROOT/web directory that contains what appears to be outdated instructions for implementing cgi functionality in Apache.

      Does anyone have an example (or where to look in the documentation) for how to use a PROTOCOL:java/ws-server thread to implement cgi?

      Specifically looking for:

      1. Accept an https connection

      2. Pass the query string to a script (tcl, ksh, perl, etc)

      3. Return the script output as the response

      - Mark Thompson
      HealthPartners

    Viewing 0 reply threads
    • Author
      Replies
      • #85904
        Rob Abbott
        Keymaster

          Hi Mark, just thinking out loud here, but you would probably want to do the following:

          – set up the WS thread as a raw provider/server

          – configure an inbound TPS to exec the script and return the exec output as a REPLY message

          Rob Abbott
          Cloverleaf Emeritus

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.