in reply to Perl executing SSI/ include virtual

This solution may be going in the wrong direction for you, but perhaps you can adapt something here.

I think I remember that the server will parse anything ending with ".shtml". If you rename your hello.cgi to hello.shtml, it will be handled by the server also. In this way you can nest SSI include commands. I don't think I ever tried this with more that one level of nesting, but it may go deeper.

ggg

Replies are listed 'Best First'.
Re^2: Perl executing SSI/ include virtual
by Avitar (Acolyte) on Aug 18, 2004 at 18:41 UTC
    But there is more to it than nested shtml files... For instance if i want to add a web based mailer/contact form. There would be a page that would be layed out like the following pseudo-Code: Contact.cgi contains ( Header.template contains ( header text, news.cgi output, menu.cgi output) print contact form here Footer.template contains ( footer text, footer_menu.cgi contact_info.cgi ) )