in reply to SSI in CGI scripts?

AgentM's solution works only if you create the shtml file in the CGI, write it to the filesystem, and redirect to it.

Other solutions include Apache::SSI if you're running Apache or CGI::SSI if you're not.

The problem is, your web server won't know to run the SSI interpreter on the output of your script, so you need something to call that interpreter or something that does the same thing.