Troy,

Not sure why you're doing that. SSI won't work on parsed pages. You're
already generating a page so why not include header.html in your template or
as a heredoc or open it as a filehandle and print it?

-----Original Message-----
From: Troy May [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 4:52 PM
To: Beginners CGI List
Subject: Using SSI in a CGI program


Hello,

I have an HTML template which gets inserted into a CGI program.  I need to
insert an SSI into it, but when the page is created it will not show up like
it does with a standard HTML file.  Do I need to do anything different to
this to execute it correctly so it will work like a standard SSI on my page?
Here's what I need to insert:

<!--#include virtual="/path/to/header.html" -->

When I view source on the ending page of the CGI program I can see it there,
but it doesn't execute like it should.

Any ideas?

Thanks!


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to