in reply to server-parsed CGI output?

In Apache 1.3.xx you cannot have stacked handlers. Either you have CGI handler, or you have SSI handler for some file. There is no (easy) way to pass output of CGI script throw SSI processor.

However there is exist module which can emulate SSI processing: CGI::SSI, . You can use it in your CGI scripts.

Another option is Apache 2.0.xx which supports stacked handlers.

Update: And another solution is running your scripts using mod_perl. There exist module Apache::SSIChain which can pass output of your script throw SSI processor (using some black magick I think :). Works only under mod_perl.

--
Ilya Martynov (http://martynov.org/)

Replies are listed 'Best First'.
Re: server-parsed CGI output?
by stevenhasty (Initiate) on Feb 04, 2002 at 02:18 UTC
    I suddenly realized a very simple solution to my simple problem! the "require" command. I should have thought of this before. It's a hassle updating the output of all my CGIs, but if I just call for each CGI to include a list of variables containing my output paramaters, I only have to update one file to change all the CGIs, which was my premise on using SSI in the first place. So, if anyone else is still hunting for an answer, this was mine.