[thelist] Including CGI output.

David Adams dpadams at island-data.com
Mon Feb 5 15:26:39 CST 2001


> Debugging SSI's can be a bit tricky. The basics include
> 
> 1) having telnet access and first running the script as a standalone from
> the server command line
> 
> 2) checking the error log to get an idea what's going wrong
> 
> 3) are you getting the string "[an error occurred while processing this
> directive]"? this is what I get on my Apache server when things get really
> screwed up.

I'm testing a CGI interface between WebSTAR and 4D and IIS and 4D. The CGI
interface works correctly when called from a URL. The same arguments cause
hideous crashes when called from an include. As far as I can tell, the
author's of the CGI have never attempted to use them to insert content. I
much prefer to insert content than to have a database serving the entire
page. I guess I'm trying to confirm that it is normal and customary to have
a CGI return output for insertion in a page.

------------------------------
  David Adams
  Island Data Management
  Kailua, HI 96734
  dpadams at island-data.com
  http://www.island-data.com/
  808/263-2905
------------------------------







More information about the thelist mailing list