Click to See Complete Forum and Search --> : Server Side Include problem


oefinger
07-06-2001, 05:47 PM
I can't seem to get server side includes to work as I need them to. I am performing a <!--#exec cgi="script.cgi"-->. Before the exec command I placed the following SSI directive:
<!--#config cmdecho="ON"-->.

When I call the shtml page, the script runs successfully (no errors in the Apache log). However, the output of the script does not get printed to my html page. When I view the html source I see only the <!--#config..--> directive, but none of the script output was piped to my page.

How can I remedy this problem?

Thanks in advance,
Matt

Grizzly
07-06-2001, 06:15 PM
Show us a copy of the CGI script you're calling. It's most likely the case that the script is executing fine, but simply not returning usable HTML.