in reply to AIX I-Planet and CGI Headers

You're close on the nph track -- but you need to tell iPlanet that you're using it. (-nph=>1 tells the CGI module that it needs to generate the extra headers, but it doesn't have a way to pass that back up to the webserver).

The easiest way is to start the name of the script with 'nph-', but it's possible that there are other ways these days. (I haven't managed the Netscape/iPlanet/SunOne line of servers for a couple of years now)

Sun makes it hard to directly link to documentation sections, so you'll want to go to http://docs.sun.com/app/docs/prod/sunone, then click on 'Web Server', and then your version number.

Replies are listed 'Best First'.
Re^2: AIX I-Planet and CGI Headers
by gwhite (Friar) on May 11, 2005 at 17:41 UTC

    Any idea of what the configuration variable might be? Gone through a few of the books trying educated guessing and nothing has been right so far.

    g_White

      Nope. But I know I've done something before. I might've just moved the files, and used NameTrans, though.

      (and I don't have access to those systems to check the configuration.)

      Read the programmer's guide for your version of iPlanet. search for 'nph' in your configs, etc. You might find something that you can abuse. It might've been something that was passed as options into something. The programmer's guide should have a chapter (appendix?) with the things that you can do with obj.conf

      If you, the contractor, are configuring the webserver, then just install Apache and go from there. If they don't have anything that requires cookies (or other script-side header stuff), then they won't notice the difference.

      If they do, cargo-cult their code and get the job done.


      • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
      • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"

        Big company, I don't get any say in it at all

        The application gets updated multiple times/year and with 50+ clients on one base set of code I don't want unique versions sitting around doubling my maintenance issues.

        g_White