Loading ...
Sorry, an error occurred while loading the content.

Re: [ploticus] CGI ISSUE

Expand Messages
  • Stephen C. Grubb
    Tom, Be sure you re using ploticus version 2.04 which fixes some CGI-related problems. Try using the -debug argument, which should produce diagnostic files on
    Message 1 of 2 , Aug 1, 2002
    View Source
    • 0 Attachment
      Tom,

      Be sure you're using ploticus version 2.04 which fixes some CGI-related
      problems.

      Try using the -debug argument, which should produce diagnostic files on
      /tmp

      Your web server should be setting environment variables QUERY_STRING and
      SCRIPT_FILENAME and making them available to the CGI process that is
      invoked. I believe this is W3 standard behavior.

      If you do other CGI programming (ie perl or whatever), see if you can
      arrange to display the CGI environment. For example, on unix you could
      issue a "set" command.

      If none of this works send me the following:

      The contents of the /tmp/plcgi* files after trying -debug
      Your os environment
      Your web server brand and version
      A copy of your config file
      A simple HTML file that has your <img> tag in it

      Good luck,

      Steve



      On Wed, 31 Jul 2002, ttsui2001 wrote:

      > Hello Stephen:
      >
      > I try your product and everything seems perfect except one thing
      > which is the CGI Mode.
      > In your "Direct CGI Mode" chapter. I basically follow all your
      > instructions and still not getting the result.
      >
      > First, can you tell me how to set an envirnment variable
      > called "SCRIPT_FILENAME" to your web server before it invokes
      > CGI programs.
      >
      > Also, is anyone out there who already generated gif file on a
      > fly through CGI using the example in "Direct CGI Mode"
      > <img
      > src="http://abc.org/cgi-bin/pl?cgi=1&scat1.pl&-png&-scale&0.8>
      > and wants to share their experience.
      >
      > Many Thanks -
      > - Tom
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > ploticus-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
      >
      >
      >


      Stephen C. Grubb scg@...
      Scientific Software Engineer, The Jackson Laboratory
      600 Main Street Bar Harbor, Maine 04609 USA
    Your message has been successfully submitted and would be delivered to recipients shortly.